diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-12-22 16:00:52 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-12-22 16:00:52 +0000 |
commit | 1a53f3c5e092a8b1f0c6e7e5deba3a0728954629 (patch) | |
tree | 71cb262087283ab796b251a034fe928e7a0f81bf | |
parent | 57b7eb9dc3670ba5e7b4b146dce15b3838d6a0f4 (diff) | |
download | php-git-1a53f3c5e092a8b1f0c6e7e5deba3a0728954629.tar.gz |
Define INADDR_NONE for systems that don't have it (apparently solaris).
-rw-r--r-- | ext/standard/basic_functions.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 96a5e74ab4..3850c48803 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -92,6 +92,10 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE; # include "win32/unistd.h" #endif +#ifndef INADDR_NONE +#define INADDR_NONE ((unsigned long int) -1) +#endif + #include "zend_globals.h" #include "php_globals.h" #include "SAPI.h" |