提交 a8a2d140 authored 作者: Jeff Lenk's avatar Jeff Lenk

FS-4445 start enabling windows IPV6 support

上级 41f74ee8
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
/* Restrict the server to a subset of Windows NT 4.0 header files by default /* Restrict the server to a subset of Windows NT 4.0 header files by default
*/ */
#define _WIN32_WINNT 0x0400 #define _WIN32_WINNT 0x0501
#endif #endif
#ifndef NOUSER #ifndef NOUSER
#define NOUSER #define NOUSER
...@@ -217,7 +217,7 @@ ...@@ -217,7 +217,7 @@
#define APR_HAVE_IN_ADDR 1 #define APR_HAVE_IN_ADDR 1
#define APR_HAVE_INET_ADDR 1 #define APR_HAVE_INET_ADDR 1
#define APR_HAVE_INET_NETWORK 0 #define APR_HAVE_INET_NETWORK 0
#define APR_HAVE_IPV6 0 #define APR_HAVE_IPV6 1
#define APR_HAVE_MEMMOVE 1 #define APR_HAVE_MEMMOVE 1
#define APR_HAVE_SETRLIMIT 0 #define APR_HAVE_SETRLIMIT 0
#define APR_HAVE_SIGACTION 0 #define APR_HAVE_SIGACTION 0
......
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
#ifdef WIN32 #ifdef WIN32
#include <winsock2.h> #include <winsock2.h>
#define ENABLE_IPV6
#if _MSC_VER < 1600 #if _MSC_VER < 1600
#define EAFNOSUPPORT WSAEAFNOSUPPORT #define EAFNOSUPPORT WSAEAFNOSUPPORT
#endif #endif
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论