summaryrefslogtreecommitdiff
path: root/src/windows.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows.hpp')
-rw-r--r--src/windows.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/windows.hpp b/src/windows.hpp
index e9dc30d..71ecd4f 100644
--- a/src/windows.hpp
+++ b/src/windows.hpp
@@ -39,6 +39,12 @@
#define NOSOUND
#endif
+#ifdef ZMQ_HAVE_MINGW32
+#ifndef WINVER
+#define WINVER 0x0501
+#endif
+#endif
+
#include <windows.h>
// Enable winsock (not included when WIN32_LEAN_AND_MEAN is defined).