Commit 94dfe136 authored by Martin Lucina's avatar Martin Lucina

Fix MINGW build

Mingw seems to define NOMINMAX, so don't redefine it if already defined
parent cf048bb1
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment