summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-03-03 14:17:52 +0100
committerTomas Chvatal <scarabeus@gentoo.org>2009-03-03 14:17:52 +0100
commit25a5462dca99b0f8317e6a08194a56dd5fe1a458 (patch)
tree860c4f2e71bdaf22921d11a8ec22dd2dc854ef1b /src
parentbdb24d2eb406a6dc313f31c796201dd1fdb998f2 (diff)
Allow optional ipv6 build, how comes that so far noone screamed that the support is not in...
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt7
-rw-r--r--src/net/.udp.c.swpbin0 -> 16384 bytes
2 files changed, 7 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index afcf171..a82ae56 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -84,6 +84,13 @@ SET ( SRC_server
###############################################################################
INCLUDE_DIRECTORIES ( ${CMAKE_BINARY_DIR}/src/base/ )
###############################################################################
+# IPv6 CHECK
+###############################################################################
+IF ( ENABLE_IPV6 )
+ ADD_DEFINITIONS ( -DSUPPORT_IPv6 )
+ENDIF ( ENABLE_IPV6 )
+
+###############################################################################
# AUDIO CHECK
###############################################################################
IF ( WITH_AUDIO )
diff --git a/src/net/.udp.c.swp b/src/net/.udp.c.swp
new file mode 100644
index 0000000..a6d449e
--- /dev/null
+++ b/src/net/.udp.c.swp
Binary files differ