diff options
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; |