From: Wez Furlong Date: Thu, 18 Dec 2003 11:26:00 +0000 (+0000) Subject: Counteract brain-death in Apache headers X-Git-Tag: php-5.0.0b3RC2~63 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=12b0501f55373c54abee8ad1b5ba225ad6e280a6;p=php Counteract brain-death in Apache headers (they #define strtoul to something that will break compilation, and it successfully breaks the win32 IPv6 headers) --- diff --git a/main/php_network.h b/main/php_network.h index 6205a1a2dc..68665b9cae 100644 --- a/main/php_network.h +++ b/main/php_network.h @@ -27,6 +27,9 @@ # endif # undef FD_SETSIZE # include "arpa/inet.h" + /* Apache folks decided that strtoul was evil and redefined + * it to something that breaks the windows headers */ +# undef strtoul /* defines socklen_t and some IPV6 stuff */ # include # if HAVE_WSPIAPI_H