summaryrefslogtreecommitdiff
path: root/src/windows.hpp
diff options
context:
space:
mode:
authormalosek <malosek@fastmq.com>2009-10-05 15:06:40 +0200
committermalosek <malosek@fastmq.com>2009-10-05 15:06:40 +0200
commit3daeff2786ce1d6d8e58f0ad15e693f2c48c94f9 (patch)
tree9a1730d803698ed461d60e99eed296bd364268af /src/windows.hpp
parentde2e439a52e93a4cb17a19e9ef9cadfd5ebf2cea (diff)
mingw port
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).