Fixed bug 2508 - don't redefine WIN32_LEAN_AND_MEAN
authorSam Lantinga <slouken@libsdl.org>
Sat, 26 Apr 2014 12:38:35 -0700
changeset 87427a261af2d612
parent 8741 d5b21f813734
child 8743 4f1fc737b017
Fixed bug 2508 - don't redefine WIN32_LEAN_AND_MEAN
include/SDL_opengl.h
     1.1 --- a/include/SDL_opengl.h	Sat Apr 26 12:29:40 2014 -0700
     1.2 +++ b/include/SDL_opengl.h	Sat Apr 26 12:38:35 2014 -0700
     1.3 @@ -33,7 +33,9 @@
     1.4  #ifndef __IPHONEOS__
     1.5  
     1.6  #ifdef __WIN32__
     1.7 +#ifndef WIN32_LEAN_AND_MEAN
     1.8  #define WIN32_LEAN_AND_MEAN
     1.9 +#endif
    1.10  #ifndef NOMINMAX
    1.11  #define NOMINMAX                /* Don't defined min() and max() */
    1.12  #endif