Fixed bug 2508 - don't redefine WIN32_LEAN_AND_MEAN
authorSam Lantinga <slouken@libsdl.org>
Sat, 26 Apr 2014 12:38:35 -0700
changeset 8742 7a261af2d612
parent 8741 d5b21f813734
child 8743 4f1fc737b017
Fixed bug 2508 - don't redefine WIN32_LEAN_AND_MEAN
include/SDL_opengl.h
--- a/include/SDL_opengl.h	Sat Apr 26 12:29:40 2014 -0700
+++ b/include/SDL_opengl.h	Sat Apr 26 12:38:35 2014 -0700
@@ -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