mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-10 07:56:09 +00:00
Fix MINGW build
Mingw seems to define NOMINMAX, so don't redefine it if already defined
This commit is contained in:
parent
cf048bb1f8
commit
94dfe1368a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user