From ed952aa1e50debf057cfdbf5cf1fc5324e3df025 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 6 Apr 2009 16:18:06 +0200 Subject: small fixes in network.h, we really don't have to export IPV6 capabilities --- include/wolf/network/network.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'include') diff --git a/include/wolf/network/network.h b/include/wolf/network/network.h index 34f5511..b98723f 100644 --- a/include/wolf/network/network.h +++ b/include/wolf/network/network.h @@ -35,13 +35,6 @@ extern "C" { #include "port/sys.h" -#if defined HAVE_IPV6 -/** - * @brief defined when we have proper IPv6 ready on the system - */ -#define WOLF_NETWORK_HAVE_IPV6 -#endif - /** * helper union to avoid anti-aliasing warnings in old network functions like getpeername, * use instead of struct sockaddr_storage when declaring socket address variables which need @@ -50,7 +43,7 @@ extern "C" { typedef union wolf_network_sockaddr_union_t { struct sockaddr_storage storage; struct sockaddr_in in; -#ifdef WOLF_NETWORK_HAVE_IPV6 +#ifdef HAVE_IPV6 struct sockaddr_in6 in6; #endif struct sockaddr addr; -- cgit v1.2.3-54-g00ecf