aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2005-01-04 16:00:14 +0000
committerGisle Vanem <gvanem@broadpark.no>2005-01-04 16:00:14 +0000
commit316e74be74e6c1eebbd6d0265f96df37a87740d3 (patch)
treeab9273e3c9f3911929b241bb65c23ff2dc3feed4 /lib
parentaf69c4f4f7ab2e26cd1e3cc3737b3dd9416c2776 (diff)
Removed _WIN32_WINNT to support IPv6 under Win-2K.
Diffstat (limited to 'lib')
-rw-r--r--lib/setup.h11
1 files changed, 0 insertions, 11 deletions
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 <winsock*.h> in <windows.h> */
#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 <wspiAPI.H> which doesn't support IPv6 (IPv4 only). <wspiAPI.H> is
- * included from <ws2tcpip.h> for <= 0x0500 SDKs.
- */
-#undef _WIN32_WINNT
-#define _WIN32_WINNT 0x0501
-#endif
-
#if HAVE_WINSOCK2_H
#include <winsock2.h> /* required by telnet.c */
#endif