Skip to content

Commit

Permalink
Apply WIN32_LEAN_AND_MEAN redefine fix to SDL_syswm.h too.
Browse files Browse the repository at this point in the history
This is related to 36ffc47b6033, which fixes bug 2508.
  • Loading branch information
jorgenpt committed Jul 1, 2014
1 parent 610225b commit 744d4f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/SDL_syswm.h
Expand Up @@ -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 <windows.h>
#endif

Expand Down

0 comments on commit 744d4f0

Please sign in to comment.