summaryrefslogtreecommitdiff
path: root/ext/pcntl/php_signal.h
diff options
context:
space:
mode:
authorArnaud Le Blanc <lbarnaud@php.net>2008-11-10 05:57:18 +0000
committerArnaud Le Blanc <lbarnaud@php.net>2008-11-10 05:57:18 +0000
commitcf7ad21ce55f98c53212b068f0f4c79111fb639c (patch)
tree111599812dd41b16dd7a581fdbf459741a49a3e9 /ext/pcntl/php_signal.h
parent42325f9d4825c197a67fdb10c2c3e39ad19581fd (diff)
downloadphp-git-cf7ad21ce55f98c53212b068f0f4c79111fb639c.tar.gz
MFH: Added the oldset parameter to pcntl_sigprocmask().
Already documented.
Diffstat (limited to 'ext/pcntl/php_signal.h')
-rw-r--r--ext/pcntl/php_signal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/pcntl/php_signal.h b/ext/pcntl/php_signal.h
index ed2e769dd7..cd1d547790 100644
--- a/ext/pcntl/php_signal.h
+++ b/ext/pcntl/php_signal.h
@@ -22,6 +22,13 @@
#ifndef PHP_SIGNAL_H
#define PHP_SIGNAL_H
+#ifndef NSIG
+# define NSIG 32
+#endif
+#ifndef SIGRTMAX
+# define SIGRTMAX 64
+#endif
+
typedef void Sigfunc(int);
Sigfunc *php_signal(int signo, Sigfunc *func, int restart);