diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-04-06 16:18:06 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-04-06 16:18:06 +0200 |
commit | ed952aa1e50debf057cfdbf5cf1fc5324e3df025 (patch) | |
tree | dfddf4fb50614043b1fcce8900135f4676041889 /include | |
parent | d67a84d6bc200b13b2b8d69c7319f0a1772822c5 (diff) | |
download | wolfbones-ed952aa1e50debf057cfdbf5cf1fc5324e3df025.tar.gz wolfbones-ed952aa1e50debf057cfdbf5cf1fc5324e3df025.tar.bz2 |
small fixes in network.h, we really don't have to export IPV6 capabilities
Diffstat (limited to 'include')
-rw-r--r-- | include/wolf/network/network.h | 9 |
1 files changed, 1 insertions, 8 deletions
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; |