summaryrefslogtreecommitdiff
path: root/ext/pcntl
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-12-12 12:23:32 +0000
committerMarcus Boerger <helly@php.net>2002-12-12 12:23:32 +0000
commit53309aace097114381a3709e15a460396497bd56 (patch)
treef640e9036cd7471b907f5ab91f5c7e990442f48d /ext/pcntl
parent835c4dedbb0e95912484cd48c1e8d26879997ffe (diff)
downloadphp-git-53309aace097114381a3709e15a460396497bd56.tar.gz
SIGIOT may not be defined in cygwin
Diffstat (limited to 'ext/pcntl')
-rwxr-xr-xext/pcntl/pcntl.c2
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);