diff options
author | Marcus Boerger <helly@php.net> | 2002-12-12 12:23:32 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2002-12-12 12:23:32 +0000 |
commit | 53309aace097114381a3709e15a460396497bd56 (patch) | |
tree | f640e9036cd7471b907f5ab91f5c7e990442f48d | |
parent | 835c4dedbb0e95912484cd48c1e8d26879997ffe (diff) | |
download | php-git-53309aace097114381a3709e15a460396497bd56.tar.gz |
SIGIOT may not be defined in cygwin
-rwxr-xr-x | ext/pcntl/pcntl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pcntl/pcntl.c b/ext/pcntl/pcntl.c index d09e7aac1a..6bbafd09d5 100755 --- a/ext/pcntl/pcntl.c +++ b/ext/pcntl/pcntl.c @@ -91,7 +91,9 @@ void php_register_signal_constants(INIT_FUNC_ARGS) REGISTER_LONG_CONSTANT("SIGILL", (long) SIGILL, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("SIGTRAP", (long) SIGTRAP, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("SIGABRT", (long) SIGABRT, CONST_CS | CONST_PERSISTENT); +#ifdef SIGIOT REGISTER_LONG_CONSTANT("SIGIOT", (long) SIGIOT, CONST_CS | CONST_PERSISTENT); +#endif REGISTER_LONG_CONSTANT("SIGBUS", (long) SIGBUS, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("SIGFPE", (long) SIGFPE, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("SIGKILL", (long) SIGKILL, CONST_CS | CONST_PERSISTENT); |