aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/port/getaddrinfo.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/port/getaddrinfo.c b/src/port/getaddrinfo.c
index c59a10fbbcd..3b51eea4815 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)
{