diff --git a/src/port/getaddrinfo.c b/src/port/getaddrinfo.c index c59a10fbbc..3b51eea481 100644 --- a/src/port/getaddrinfo.c +++ b/src/port/getaddrinfo.c @@ -74,16 +74,6 @@ haveNativeWindowsIPv6routines(void) */ hLibrary = LoadLibraryA("ws2_32"); - if (hLibrary == NULL || GetProcAddress(hLibrary, "getaddrinfo") == NULL) - { - /* - * Well, ws2_32 doesn't exist, or more likely doesn't have - * getaddrinfo. - */ - if (hLibrary != NULL) - FreeLibrary(hLibrary); - } - /* If hLibrary is null, we couldn't find a dll with functions */ if (hLibrary != NULL) {