mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-07 21:44:51 +00:00
FS-4445 start enabling windows IPV6 support
This commit is contained in:
parent
41f74ee861
commit
a8a2d1406e
@ -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 @@
|
|||||||
#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 @@
|
|||||||
|
|
||||||
#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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user