Ver Fonte

Redefine of WIN32_LEAN_AND_MEAN avoided

Bei Yang há 16 anos atrás
pai
commit
b3d2ec3db2
1 ficheiros alterados com 7 adições e 3 exclusões
  1. 7 3
      panda/src/windisplay/winGraphicsWindow.h

+ 7 - 3
panda/src/windisplay/winGraphicsWindow.h

@@ -17,13 +17,17 @@
 
 #include "pandabase.h"
 #include "graphicsWindow.h"
-#define WIN32_LEAN_AND_MEAN 1
+#ifndef WIN32_LEAN_AND_MEAN
+	#define WIN32_LEAN_AND_MEAN 1
+#endif
 #include <windows.h>
 
 class WinGraphicsPipe;
 
-#define PM_ACTIVE   (WM_APP+123)
-#define PM_INACTIVE  (WM_APP+124)
+#define PM_ACTIVE   (WM_APP+123)
+
+#define PM_INACTIVE  (WM_APP+124)
+
 
 
 ////////////////////////////////////////////////////////////////////