]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4445 start enabling windows IPV6 support
authorJeff Lenk <jeff@jefflenk.com>
Thu, 18 Oct 2012 03:36:47 +0000 (22:36 -0500)
committerJeff Lenk <jeff@jefflenk.com>
Thu, 18 Oct 2012 03:36:47 +0000 (22:36 -0500)
libs/win32/apr/apr.hw
src/inet_pton.c

index 903ad1b9a33caa28aad4ba7a2931fa91f54a868b..27be40106e3950d7848c67eb3892dca793df682a 100644 (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
 #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
index 9d293ed520beff8dbbf49ec462d4a8cb6de95a09..6ad9920a7777907109dd05bb449de6c037771045 100644 (file)
@@ -42,6 +42,7 @@
 
 #ifdef WIN32
 #include <winsock2.h>
+#define ENABLE_IPV6
 #if _MSC_VER < 1600
 #define EAFNOSUPPORT    WSAEAFNOSUPPORT
 #endif