mirror of
https://github.com/php/php-src.git
synced 2026-04-25 00:48:25 +02:00
MFH: fix non ipv6 enabled win build
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user