diff options
Diffstat (limited to 'include/ui/sdl2.h')
-rw-r--r-- | include/ui/sdl2.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ui/sdl2.h b/include/ui/sdl2.h index 51fff2e9b8..e21783add2 100644 --- a/include/ui/sdl2.h +++ b/include/ui/sdl2.h @@ -1,6 +1,12 @@ #ifndef SDL2_H #define SDL2_H +/* Avoid compiler warning because macro is redefined in SDL_syswm.h. */ +#undef WIN32_LEAN_AND_MEAN + +#include <SDL.h> +#include <SDL_syswm.h> + struct sdl2_console { DisplayChangeListener dcl; DisplaySurface *surface; |