Browse Source

fix compile warning

rdb 13 years ago
parent
commit
b099a82224
1 changed files with 2 additions and 0 deletions
  1. 2 0
      panda/src/glgsg/glgsg.h

+ 2 - 0
panda/src/glgsg/glgsg.h

@@ -67,7 +67,9 @@
 
 // Before including gl.h, need to include windows.h
 #if defined(_WIN32)
+#ifndef WIN32_LEAN_AND_MEAN
 #define WIN32_LEAN_AND_MEAN 1
+#endif
 #include <windows.h>
 #endif