summaryrefslogtreecommitdiff
path: root/src/windows.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2010-01-28 12:45:37 +0100
committerMartin Sustrik <sustrik@fastmq.commkdir>2010-01-28 12:45:37 +0100
commit849095a042b8326f5789baa04d1dbb7ca36d4632 (patch)
tree2974bc9f9f14c67059d45be0a6932b263930506a /src/windows.hpp
parentf17f0fa67bc5a373f3fc7964aaad4f08aa1dc761 (diff)
parente5ff617c4e061d29c9a019efa2292fd09c87a71e (diff)
Merge branch 'master' of git@github.com:sustrik/zeromq2
Diffstat (limited to 'src/windows.hpp')
-rw-r--r--src/windows.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/windows.hpp b/src/windows.hpp
index 7cb9291..81c4d38 100644
--- a/src/windows.hpp
+++ b/src/windows.hpp
@@ -65,4 +65,8 @@
#include <ipexport.h>
#include <process.h>
+// On mingw environment AI_NUMERICSERV is not defined, needed in ip.cpp.
+#ifndef AI_NUMERICSERV
+#define AI_NUMERICSERV 0x0400
+#endif
#endif