diff options
author | malosek <malosek@fastmq.com> | 2010-01-27 20:58:40 +0100 |
---|---|---|
committer | malosek <malosek@fastmq.com> | 2010-01-27 20:58:40 +0100 |
commit | e5ff617c4e061d29c9a019efa2292fd09c87a71e (patch) | |
tree | 2933311d5048f265aacc7d059d9e5a8770b7dade | |
parent | 8f57ff4634ae44cd998bc0b864a8987f241e2fce (diff) |
fixed OpenPGM compilation on mingw32
-rw-r--r-- | src/windows.hpp | 4 |
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 |