Explorar o código

Fixed bug 2508 - don't redefine WIN32_LEAN_AND_MEAN

Sam Lantinga %!s(int64=11) %!d(string=hai) anos
pai
achega
bd6a493697
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      include/SDL_opengl.h

+ 2 - 0
include/SDL_opengl.h

@@ -33,7 +33,9 @@
 #ifndef __IPHONEOS__
 
 #ifdef __WIN32__
+#ifndef WIN32_LEAN_AND_MEAN
 #define WIN32_LEAN_AND_MEAN
+#endif
 #ifndef NOMINMAX
 #define NOMINMAX                /* Don't defined min() and max() */
 #endif