summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormalosek <malosek@fastmq.com>2010-01-27 20:58:40 +0100
committermalosek <malosek@fastmq.com>2010-01-27 20:58:40 +0100
commite5ff617c4e061d29c9a019efa2292fd09c87a71e (patch)
tree2933311d5048f265aacc7d059d9e5a8770b7dade /src
parent8f57ff4634ae44cd998bc0b864a8987f241e2fce (diff)
fixed OpenPGM compilation on mingw32
Diffstat (limited to 'src')
-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