ws2_32: Add AI_NUMERICSERV support.
This commit is contained in:
parent
41f3168679
commit
e5fba2d54c
|
@ -525,6 +525,9 @@ static const int ws_aiflag_map[][2] =
|
||||||
MAP_OPTION( AI_PASSIVE ),
|
MAP_OPTION( AI_PASSIVE ),
|
||||||
MAP_OPTION( AI_CANONNAME ),
|
MAP_OPTION( AI_CANONNAME ),
|
||||||
MAP_OPTION( AI_NUMERICHOST ),
|
MAP_OPTION( AI_NUMERICHOST ),
|
||||||
|
#ifdef AI_NUMERICSERV
|
||||||
|
MAP_OPTION( AI_NUMERICSERV ),
|
||||||
|
#endif
|
||||||
MAP_OPTION( AI_V4MAPPED ),
|
MAP_OPTION( AI_V4MAPPED ),
|
||||||
MAP_OPTION( AI_ADDRCONFIG ),
|
MAP_OPTION( AI_ADDRCONFIG ),
|
||||||
};
|
};
|
||||||
|
|
|
@ -63,6 +63,7 @@ typedef ADDRINFOA ADDRINFO, *LPADDRINFO;
|
||||||
# define AI_PASSIVE 0x00000001
|
# define AI_PASSIVE 0x00000001
|
||||||
# define AI_CANONNAME 0x00000002
|
# define AI_CANONNAME 0x00000002
|
||||||
# define AI_NUMERICHOST 0x00000004
|
# define AI_NUMERICHOST 0x00000004
|
||||||
|
# define AI_NUMERICSERV 0x00000008
|
||||||
# define AI_ADDRCONFIG 0x00000400
|
# define AI_ADDRCONFIG 0x00000400
|
||||||
# define AI_V4MAPPED 0x00000800
|
# define AI_V4MAPPED 0x00000800
|
||||||
# define AI_NON_AUTHORITATIVE 0x00004000
|
# define AI_NON_AUTHORITATIVE 0x00004000
|
||||||
|
@ -82,6 +83,7 @@ typedef ADDRINFOA ADDRINFO, *LPADDRINFO;
|
||||||
# define WS_AI_PASSIVE 0x00000001
|
# define WS_AI_PASSIVE 0x00000001
|
||||||
# define WS_AI_CANONNAME 0x00000002
|
# define WS_AI_CANONNAME 0x00000002
|
||||||
# define WS_AI_NUMERICHOST 0x00000004
|
# define WS_AI_NUMERICHOST 0x00000004
|
||||||
|
# define WS_AI_NUMERICSERV 0x00000008
|
||||||
# define WS_AI_ADDRCONFIG 0x00000400
|
# define WS_AI_ADDRCONFIG 0x00000400
|
||||||
# define WS_AI_V4MAPPED 0x00000800
|
# define WS_AI_V4MAPPED 0x00000800
|
||||||
# define WS_AI_NON_AUTHORITATIVE 0x00004000
|
# define WS_AI_NON_AUTHORITATIVE 0x00004000
|
||||||
|
|
Loading…
Reference in New Issue