From: Rob Richards Date: Tue, 6 Nov 2007 10:56:53 +0000 (+0000) Subject: fix non ipv6 enabled win build X-Git-Tag: RELEASE_2_0_0a1~1444 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5f7ece064db6024bd1f516c0d639e89f690c1747;p=php fix non ipv6 enabled win build --- diff --git a/main/network.c b/main/network.c index c3345186de..527bf25c86 100644 --- a/main/network.c +++ b/main/network.c @@ -91,7 +91,9 @@ int inet_aton(const char *, struct in_addr *); # define SOCK_CONN_ERR SOCKET_ERROR # define PHP_TIMEOUT_ERROR_VALUE WSAETIMEDOUT +#if HAVE_IPV6 const struct in6_addr in6addr_any = {0}; /* IN6ADDR_ANY_INIT; */ +#endif #else # define SOCK_ERR -1