From 744d4f02e68772ba67989cf5e0cb82815fc469de Mon Sep 17 00:00:00 2001 From: "J?rgen P. Tjern?" Date: Mon, 30 Jun 2014 17:22:08 -0700 Subject: [PATCH] Apply WIN32_LEAN_AND_MEAN redefine fix to SDL_syswm.h too. This is related to 36ffc47b6033, which fixes bug 2508. --- include/SDL_syswm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/SDL_syswm.h b/include/SDL_syswm.h index c1022c15ffe4a..715f2c0583a13 100644 --- a/include/SDL_syswm.h +++ b/include/SDL_syswm.h @@ -52,7 +52,9 @@ struct SDL_SysWMinfo; #else #if defined(SDL_VIDEO_DRIVER_WINDOWS) +#ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN +#endif #include #endif