Fix MINGW build

Mingw seems to define NOMINMAX, so don't redefine it if already defined
This commit is contained in:
Martin Lucina 2010-06-04 17:02:16 +02:00
parent cf048bb1f8
commit 94dfe1368a

View File

@ -24,7 +24,9 @@
// on the windows platform.
#define _WINSOCKAPI_
#define NOMINMAX
#ifndef NOMINMAX
#define NOMINMAX // No min and max functions, these clash with C++.
#endif
#define _CRT_SECURE_NO_WARNINGS
#ifndef WIN32_LEAN_AND_MEAN