Skip to content
Browse files

Define a symbol which is missing on windows.

Define AI_ALL as zero to make compiler happy on windows.

Change-Id: I76947316a9f29cabafd2258af60076948d9a5d0c
  • Loading branch information...
1 parent c0d22b8 commit 9254a8e2b1c3ba05fa7626335ac83c22693ed5bd @bcui6611 committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 win32/win32.h
View
4 win32/win32.h
@@ -107,6 +107,10 @@ int inet_aton(register const char *cp, struct in_addr *addr);
( *(_lasts) = strtok( (_s), (_sep) ) )
#endif /* strtok_r */
+#if !defined(AI_ALL)
+#define AI_ALL 0X0
+#endif
+
static inline void mapErr(int error) {
switch(error) {
default:

0 comments on commit 9254a8e

Please sign in to comment.
Something went wrong with that request. Please try again.