diff options
author | Rob Richards <rrichards@php.net> | 2007-11-06 10:57:26 +0000 |
---|---|---|
committer | Rob Richards <rrichards@php.net> | 2007-11-06 10:57:26 +0000 |
commit | da4da2ae14806cd130d7ee2cd8f2b553cc125919 (patch) | |
tree | 4d13ac5b0185e2fb702ff92812f653caa9b06390 /main/network.c | |
parent | 5262157d498a34119e776993bc45c85b482f958a (diff) | |
download | php-git-da4da2ae14806cd130d7ee2cd8f2b553cc125919.tar.gz |
MFH: fix non ipv6 enabled win build
Diffstat (limited to 'main/network.c')
-rw-r--r-- | main/network.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |