FS-4445 start enabling windows IPV6 support

This commit is contained in:
Jeff Lenk 2012-10-17 22:36:47 -05:00
parent 41f74ee861
commit a8a2d1406e
2 changed files with 3 additions and 2 deletions

View File

@ -78,7 +78,7 @@
/* Restrict the server to a subset of Windows NT 4.0 header files by default
*/
#define _WIN32_WINNT 0x0400
#define _WIN32_WINNT 0x0501
#endif
#ifndef NOUSER
#define NOUSER
@ -217,7 +217,7 @@
#define APR_HAVE_IN_ADDR 1
#define APR_HAVE_INET_ADDR 1
#define APR_HAVE_INET_NETWORK 0
#define APR_HAVE_IPV6 0
#define APR_HAVE_IPV6 1
#define APR_HAVE_MEMMOVE 1
#define APR_HAVE_SETRLIMIT 0
#define APR_HAVE_SIGACTION 0

View File

@ -42,6 +42,7 @@
#ifdef WIN32
#include <winsock2.h>
#define ENABLE_IPV6
#if _MSC_VER < 1600
#define EAFNOSUPPORT WSAEAFNOSUPPORT
#endif