Apply WIN32_LEAN_AND_MEAN redefine fix to SDL_syswm.h too.
authorJørgen P. Tjernø <jorgen@uberent.com>
Mon, 30 Jun 2014 17:22:08 -0700
changeset 896847decd0106f8
parent 8967 8ca9ce569f65
child 8969 7fb90df60b99
Apply WIN32_LEAN_AND_MEAN redefine fix to SDL_syswm.h too.

This is related to 7a261af2d612, which fixes bug 2508.
include/SDL_syswm.h
     1.1 --- a/include/SDL_syswm.h	Sat Jun 28 19:51:26 2014 -0700
     1.2 +++ b/include/SDL_syswm.h	Mon Jun 30 17:22:08 2014 -0700
     1.3 @@ -52,7 +52,9 @@
     1.4  #else
     1.5  
     1.6  #if defined(SDL_VIDEO_DRIVER_WINDOWS)
     1.7 +#ifndef WIN32_LEAN_AND_MEAN
     1.8  #define WIN32_LEAN_AND_MEAN
     1.9 +#endif
    1.10  #include <windows.h>
    1.11  #endif
    1.12