diff options
| author | Jason Greene <jason@php.net> | 2001-06-26 04:54:47 +0000 |
|---|---|---|
| committer | Jason Greene <jason@php.net> | 2001-06-26 04:54:47 +0000 |
| commit | 8f1f79fa7bc617415b97898eb0705923ae553916 (patch) | |
| tree | c79d706e60b97a958d6055a50b470d546a500b9d /ext/pcntl | |
| parent | c01ab20f01fb581125e42a29e5d77abdf720ced5 (diff) | |
| download | php-git-8f1f79fa7bc617415b97898eb0705923ae553916.tar.gz | |
*BSD doesn't have SIGPOLL or SIGPWR
Diffstat (limited to 'ext/pcntl')
| -rwxr-xr-x | ext/pcntl/pcntl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/pcntl/pcntl.c b/ext/pcntl/pcntl.c index 6c7b4cc212..81d074c3c5 100755 --- a/ext/pcntl/pcntl.c +++ b/ext/pcntl/pcntl.c @@ -125,9 +125,13 @@ void php_register_signal_constants(INIT_FUNC_ARGS) REGISTER_LONG_CONSTANT("SIGVTALRM",(long) SIGVTALRM, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("SIGPROF", (long) SIGPROF, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("SIGWINCH", (long) SIGWINCH, CONST_CS | CONST_PERSISTENT); +#ifdef SIGPOLL REGISTER_LONG_CONSTANT("SIGPOLL", (long) SIGPOLL, CONST_CS | CONST_PERSISTENT); +#endif REGISTER_LONG_CONSTANT("SIGIO", (long) SIGIO, CONST_CS | CONST_PERSISTENT); +#ifdef SIGPWR REGISTER_LONG_CONSTANT("SIGPWR", (long) SIGPWR, CONST_CS | CONST_PERSISTENT); +#endif REGISTER_LONG_CONSTANT("SIGSYS", (long) SIGSYS, CONST_CS | CONST_PERSISTENT); } |
