prevent Windows redefinition warning cause by compat.h

This commit is contained in:
Philip Kaufmann 2013-11-27 16:13:04 +01:00
parent 5f083afde1
commit 0078841617

View file

@ -11,7 +11,9 @@
#undef _WIN32_WINNT #undef _WIN32_WINNT
#endif #endif
#define _WIN32_WINNT 0x0501 #define _WIN32_WINNT 0x0501
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1 #define WIN32_LEAN_AND_MEAN 1
#endif
#ifndef NOMINMAX #ifndef NOMINMAX
#define NOMINMAX #define NOMINMAX
#endif #endif