From 3779a2e2aed31a2a9d9873b9880f874e65d7269d Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Sun, 12 Apr 2009 15:43:15 +0200 Subject: Fix ipv6 support --- CMakeLists.txt | 2 +- src/net/tcp.h | 1 - src/net/udp.h | 4 ---- 3 files changed, 1 insertion(+), 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 # include # 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; -- cgit v1.2.3