Commit 78b94a4f authored by Simon Giesecke's avatar Simon Giesecke

Problem: testutil.hpp pulls in min/max macro definitions on Windows

Solution: define NOMINMAX
parent 4ad239ac
......@@ -61,6 +61,10 @@
// duplicated from fd.hpp
#ifdef ZMQ_HAVE_WINDOWS
#ifndef NOMINMAX
#define NOMINMAX // Macros min(a,b) and max(a,b)
#endif
#include <winsock2.h>
#include <ws2tcpip.h>
#include <stdexcept>
......
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