From 398cafcf202bc0bd6dcb6eac4b5e5266c19069c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Fri, 1 Mar 2002 08:31:07 +0000 Subject: Patch #520062: Support IPv6 with VC.NET. --- Modules/socketmodule.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Modules/socketmodule.h') diff --git a/Modules/socketmodule.h b/Modules/socketmodule.h index d1503ba1b4..a59e6f750c 100644 --- a/Modules/socketmodule.h +++ b/Modules/socketmodule.h @@ -9,8 +9,18 @@ # endif #else /* MS_WINDOWS */ +#if _MSC_VER >= 1300 +# include +# include +# define HAVE_ADDRINFO +# define HAVE_SOCKADDR_STORAGE +# define HAVE_GETADDRINFO +# define HAVE_GETNAMEINFO +# define ENABLE_IPV6 +#else # include #endif +#endif #ifdef HAVE_SYS_UN_H # include -- cgit v1.2.1