Changeset 7435 for code/branches/ipv6/src/external/enet/win32.c
- Timestamp:
- Sep 12, 2010, 10:56:19 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ipv6/src/external/enet/win32.c
r7433 r7435 5 5 #ifdef WIN32 6 6 7 #define _WIN32_WINNT 0x0501 8 7 9 #include <time.h> 8 10 #define ENET_BUILDING_LIB 1 … … 127 129 128 130 memset(& hints, 0, sizeof (hints)); 131 #ifdef AI_ADDRCONFIG 129 132 hints.ai_flags = AI_ADDRCONFIG; 133 #else 134 hints.ai_flags = 0x0400; // AI_ADDRCONFIG is defined as 0x0400 135 #endif 130 136 hints.ai_family = AF_UNSPEC; 131 137
Note: See TracChangeset
for help on using the changeset viewer.