Browse Source

MFH: fix non ipv6 enabled win build

PECL
Rob Richards 19 years ago
parent
commit
da4da2ae14
  1. 2
      main/network.c

2
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

Loading…
Cancel
Save