ws2_32: Map AI ALL_option in getaddrinfo().

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2020-09-14 20:23:04 +10:00 committed by Alexandre Julliard
parent 9336ec8faf
commit 0f515c8ebe
2 changed files with 3 additions and 0 deletions

View File

@ -826,6 +826,7 @@ static const int ws_aiflag_map[][2] =
#ifdef AI_V4MAPPED
MAP_OPTION( AI_V4MAPPED ),
#endif
MAP_OPTION( AI_ALL ),
MAP_OPTION( AI_ADDRCONFIG ),
};

View File

@ -72,6 +72,7 @@ typedef ADDRINFOA ADDRINFO, *LPADDRINFO;
# define AI_CANONNAME 0x00000002
# define AI_NUMERICHOST 0x00000004
# define AI_NUMERICSERV 0x00000008
# define AI_ALL 0x00000100
# define AI_ADDRCONFIG 0x00000400
# define AI_V4MAPPED 0x00000800
# define AI_NON_AUTHORITATIVE 0x00004000
@ -93,6 +94,7 @@ typedef ADDRINFOA ADDRINFO, *LPADDRINFO;
# define WS_AI_CANONNAME 0x00000002
# define WS_AI_NUMERICHOST 0x00000004
# define WS_AI_NUMERICSERV 0x00000008
# define WS_AI_ALL 0x00000100
# define WS_AI_ADDRCONFIG 0x00000400
# define WS_AI_V4MAPPED 0x00000800
# define WS_AI_NON_AUTHORITATIVE 0x00004000