mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-14 09:53:12 +02:00
Handle EAI_NODATA==EAI_NONAME in win32 SDK
This commit is contained in:
parent
cbca0ac5d9
commit
73dbe591fb
@ -636,7 +636,9 @@ g_resolver_error_from_addrinfo_error (gint err)
|
|||||||
switch (err)
|
switch (err)
|
||||||
{
|
{
|
||||||
case EAI_FAIL:
|
case EAI_FAIL:
|
||||||
|
#ifndef G_OS_WIN32 /* defined as NONAME claiming it is removed from rfc2553bis */
|
||||||
case EAI_NODATA:
|
case EAI_NODATA:
|
||||||
|
#endif
|
||||||
case EAI_NONAME:
|
case EAI_NONAME:
|
||||||
return G_RESOLVER_ERROR_NOT_FOUND;
|
return G_RESOLVER_ERROR_NOT_FOUND;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user