diff options
| -rw-r--r-- | CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/net/tcp.h | 1 | ||||
| -rw-r--r-- | src/net/udp.h | 4 |
3 files changed, 1 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0d9bd3e..b02972b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ # DEFAULT OPTIONS ############################################################################### option(WITH_SERVER "Build the server instead of client" OFF) -option(ENABLE_IPV6 "Build with the ipv6 support" OFF) +option(ENABLE_IPV6 "Build with the ipv6 support" ON) option(WITH_AUDIO "Build with audio enabled" ON) option(ENABLE_DEBUG "Build debug features" OFF) option(DEVELOPER "Modify stuff to please tuxanci devs" OFF) diff --git a/src/net/tcp.h b/src/net/tcp.h index a9cdb4b..cdeb2e6 100644 --- a/src/net/tcp.h +++ b/src/net/tcp.h @@ -12,7 +12,6 @@ # include <windows.h> # include <wininet.h> # endif -# define SUPPORT_IPv6 # define PROTO_TCPv4 0 # define PROTO_TCPv6 1 diff --git a/src/net/udp.h b/src/net/udp.h index 35c9e18..7a5337a 100644 --- a/src/net/udp.h +++ b/src/net/udp.h @@ -10,10 +10,6 @@ # define MY_UDP -# ifndef __WIN32__ -# define SUPPORT_IPv6 -# endif - typedef struct struct_sock_udp_t { # ifndef __WIN32__ int sock; |