summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-04-12 15:43:15 +0200
committerTomas Chvatal <scarabeus@gentoo.org>2009-04-12 15:43:15 +0200
commit3779a2e2aed31a2a9d9873b9880f874e65d7269d (patch)
treeba5183fbfaf4cfa38f1f749df1ed0724ab3c2537
parentb387348d05f7560f6b783ac1e9b2fe218c827c18 (diff)
Fix ipv6 support
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/net/tcp.h1
-rw-r--r--src/net/udp.h4
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;