mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-04 20:31:03 +01:00
Fix MINGW build
Mingw seems to define NOMINMAX, so don't redefine it if already defined
This commit is contained in:
@@ -24,7 +24,9 @@
|
|||||||
// on the windows platform.
|
// on the windows platform.
|
||||||
|
|
||||||
#define _WINSOCKAPI_
|
#define _WINSOCKAPI_
|
||||||
#define NOMINMAX
|
#ifndef NOMINMAX
|
||||||
|
#define NOMINMAX // No min and max functions, these clash with C++.
|
||||||
|
#endif
|
||||||
#define _CRT_SECURE_NO_WARNINGS
|
#define _CRT_SECURE_NO_WARNINGS
|
||||||
|
|
||||||
#ifndef WIN32_LEAN_AND_MEAN
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
|
|||||||
Reference in New Issue
Block a user