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 8968 47decd0106f8
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
--- a/include/SDL_syswm.h	Sat Jun 28 19:51:26 2014 -0700
+++ b/include/SDL_syswm.h	Mon Jun 30 17:22:08 2014 -0700
@@ -52,7 +52,9 @@
 #else
 
 #if defined(SDL_VIDEO_DRIVER_WINDOWS)
+#ifndef WIN32_LEAN_AND_MEAN
 #define WIN32_LEAN_AND_MEAN
+#endif
 #include <windows.h>
 #endif