diff options
author | Wez Furlong <wez@php.net> | 2003-12-18 11:26:00 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2003-12-18 11:26:00 +0000 |
commit | 12b0501f55373c54abee8ad1b5ba225ad6e280a6 (patch) | |
tree | 894f118af43cbe2428a4af732cf17e0d4a0ba3a6 /main/php_network.h | |
parent | 09907c6b93c07894f0bda63f489f61fac57ef768 (diff) | |
download | php-git-12b0501f55373c54abee8ad1b5ba225ad6e280a6.tar.gz |
Counteract brain-death in Apache headers
(they #define strtoul to something that will break compilation,
and it successfully breaks the win32 IPv6 headers)
Diffstat (limited to 'main/php_network.h')
-rw-r--r-- | main/php_network.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 <ws2tcpip.h> # if HAVE_WSPIAPI_H |