aboutsummaryrefslogtreecommitdiff
path: root/src/include/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/platform.h')
-rw-r--r--src/include/platform.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/platform.h b/src/include/platform.h
index 7383e48..9a5d164 100644
--- a/src/include/platform.h
+++ b/src/include/platform.h
@@ -241,6 +241,14 @@ atoll (const char *nptr);
#define O_LARGEFILE 0
#endif
+/**
+ * AI_NUMERICSERV not defined in windows. Then we just do without.
+ */
+#ifndef AI_NUMERICSERV
+#define AI_NUMERICSERV 0
+#endif
+
+
#if defined(__sparc__)
#define MAKE_UNALIGNED(val) ({ __typeof__((val)) __tmp; memmove(&__tmp, &(val), sizeof((val))); __tmp; })
#else