From bd6a493697a79c5d0d65719c78490b5ff4f91e69 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 26 Apr 2014 12:38:35 -0700 Subject: [PATCH] Fixed bug 2508 - don't redefine WIN32_LEAN_AND_MEAN --- include/SDL_opengl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/SDL_opengl.h b/include/SDL_opengl.h index b48ea7abe9b2a..43fc319cd9d62 100644 --- a/include/SDL_opengl.h +++ b/include/SDL_opengl.h @@ -33,7 +33,9 @@ #ifndef __IPHONEOS__ #ifdef __WIN32__ +#ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN +#endif #ifndef NOMINMAX #define NOMINMAX /* Don't defined min() and max() */ #endif