From: Marcus Boerger Date: Thu, 12 Dec 2002 12:23:32 +0000 (+0000) Subject: SIGIOT may not be defined in cygwin X-Git-Tag: RELEASE_1_0b3~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53309aace097114381a3709e15a460396497bd56;p=php SIGIOT may not be defined in cygwin --- 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);