From 316e74be74e6c1eebbd6d0265f96df37a87740d3 Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Tue, 4 Jan 2005 16:00:14 +0000 Subject: Removed _WIN32_WINNT to support IPv6 under Win-2K. --- lib/setup.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'lib') diff --git a/lib/setup.h b/lib/setup.h index c494ce25e..d45d61153 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -160,17 +160,6 @@ typedef unsigned char bool; #define WIN32_LEAN_AND_MEAN /* Prevent including in */ #endif -#if (defined(ENABLE_IPV6) || defined(CURLDEBUG)) && defined(_MSC_VER) && \ - (!defined(_WIN32_WINNT) || _WIN32_WINNT < 0x0500) -/* - * Needed to pull in the real getaddrinfo() and not the inline version - * in which doesn't support IPv6 (IPv4 only). is - * included from for <= 0x0500 SDKs. - */ -#undef _WIN32_WINNT -#define _WIN32_WINNT 0x0501 -#endif - #if HAVE_WINSOCK2_H #include /* required by telnet.c */ #endif -- cgit v1.2.3