From: Rob Richards Date: Tue, 6 Nov 2007 10:57:26 +0000 (+0000) Subject: MFH: fix non ipv6 enabled win build X-Git-Tag: RELEASE_1_3_1~719 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da4da2ae14806cd130d7ee2cd8f2b553cc125919;p=php MFH: fix non ipv6 enabled win build --- diff --git a/main/network.c b/main/network.c index 2dccd30a03..6afc043b6e 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