summaryrefslogtreecommitdiff
path: root/ext/pcntl/pcntl.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2004-12-14 14:01:06 +0000
committerDmitry Stogov <dmitry@php.net>2004-12-14 14:01:06 +0000
commit860754f0f97a3323c48f1f23d0102ad90e5fad15 (patch)
tree73dabb3ba87ec2ba9ad01198cd047703289ab9f8 /ext/pcntl/pcntl.c
parent3f0c2347ff5f583f00ef5ef8f5190a32ed05ec93 (diff)
downloadphp-git-860754f0f97a3323c48f1f23d0102ad90e5fad15.tar.gz
Fixed build on linux-glibc21-i386
Diffstat (limited to 'ext/pcntl/pcntl.c')
-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 eb1a0f38f1..6a9c304f2f 100755
--- a/ext/pcntl/pcntl.c
+++ b/ext/pcntl/pcntl.c
@@ -148,8 +148,10 @@ void php_register_signal_constants(INIT_FUNC_ARGS)
#ifdef SIGPWR
REGISTER_LONG_CONSTANT("SIGPWR", (long) SIGPWR, CONST_CS | CONST_PERSISTENT);
#endif
+#ifdef SIGSYS
REGISTER_LONG_CONSTANT("SIGSYS", (long) SIGSYS, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("SIGBABY", (long) SIGSYS, CONST_CS | CONST_PERSISTENT);
+#endif
#if HAVE_GETPRIORITY || HAVE_SETPRIORITY
REGISTER_LONG_CONSTANT("PRIO_PGRP", PRIO_PGRP, CONST_CS | CONST_PERSISTENT);