Fixed bug 2508 - don't redefine WIN32_LEAN_AND_MEAN

This commit is contained in:
Sam Lantinga 2014-04-26 12:38:35 -07:00
parent d9ffe549e2
commit bd6a493697
1 changed files with 2 additions and 0 deletions

View File

@ -33,7 +33,9 @@
#ifndef __IPHONEOS__ #ifndef __IPHONEOS__
#ifdef __WIN32__ #ifdef __WIN32__
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#endif
#ifndef NOMINMAX #ifndef NOMINMAX
#define NOMINMAX /* Don't defined min() and max() */ #define NOMINMAX /* Don't defined min() and max() */
#endif #endif