diff options
Diffstat (limited to 'src/port/getaddrinfo.c')
-rw-r--r-- | src/port/getaddrinfo.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/port/getaddrinfo.c b/src/port/getaddrinfo.c index b8b7827356b..c59a10fbbcd 100644 --- a/src/port/getaddrinfo.c +++ b/src/port/getaddrinfo.c @@ -69,10 +69,9 @@ haveNativeWindowsIPv6routines(void) return (getaddrinfo_ptr != NULL); /* - * For Windows XP and Windows 2003 (and longhorn/vista), the IPv6 routines - * are present in the WinSock 2 library (ws2_32.dll). Try that first + * For Windows XP and later versions, the IPv6 routines are present in the + * WinSock 2 library (ws2_32.dll). */ - hLibrary = LoadLibraryA("ws2_32"); if (hLibrary == NULL || GetProcAddress(hLibrary, "getaddrinfo") == NULL) @@ -83,13 +82,6 @@ haveNativeWindowsIPv6routines(void) */ if (hLibrary != NULL) FreeLibrary(hLibrary); - - /* - * In Windows 2000, there was only the IPv6 Technology Preview look in - * the IPv6 WinSock library (wship6.dll). - */ - - hLibrary = LoadLibraryA("wship6"); } /* If hLibrary is null, we couldn't find a dll with functions */ |