summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormalosek <malosek@fastmq.com>2010-01-05 18:34:27 +0100
committermalosek <malosek@fastmq.com>2010-01-05 18:34:27 +0100
commite21b33e9cfe12725de23bf2ef44967f53bcb2a10 (patch)
tree76051da0b84861ea7495ddfee922ff46474fc84c
parentef049efe2ec56bb0ff5395ba8cba6e1722922e43 (diff)
forced WINVER to 0x0501 for mingv32 build
-rw-r--r--src/windows.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/windows.hpp b/src/windows.hpp
index 472b9c1..7cb9291 100644
--- a/src/windows.hpp
+++ b/src/windows.hpp
@@ -40,9 +40,10 @@
#endif
#ifdef ZMQ_HAVE_MINGW32
-#ifndef WINVER
-#define WINVER 0x0501
+#ifdef WINVER
+#undef WINVER
#endif
+#define WINVER 0x0501
#endif
#include <windows.h>