summaryrefslogtreecommitdiff
path: root/ext/pcntl/pcntl.c
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2004-08-28 12:20:06 +0000
committerDerick Rethans <derick@php.net>2004-08-28 12:20:06 +0000
commit52d6a64efa7d568496e1947c9a7b76cae60f762f (patch)
treecf30f42d77aa7d0f88c845cf8021d8652cdc36d3 /ext/pcntl/pcntl.c
parent48335493ebc63609ad469a0a01e6a4a931515ca5 (diff)
downloadphp-git-52d6a64efa7d568496e1947c9a7b76cae60f762f.tar.gz
- Fixed bug #29873 (No defines around pcntl_*priority definitions).
Diffstat (limited to 'ext/pcntl/pcntl.c')
-rwxr-xr-xext/pcntl/pcntl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/pcntl/pcntl.c b/ext/pcntl/pcntl.c
index 8aa9290011..eb1a0f38f1 100755
--- a/ext/pcntl/pcntl.c
+++ b/ext/pcntl/pcntl.c
@@ -56,8 +56,12 @@ function_entry pcntl_functions[] = {
PHP_FE(pcntl_wstopsig, NULL)
PHP_FE(pcntl_exec, NULL)
PHP_FE(pcntl_alarm, NULL)
+#ifdef HAVE_GETPRIORITY
PHP_FE(pcntl_getpriority, NULL)
+#endif
+#ifdef HAVE_SETPRIORITY
PHP_FE(pcntl_setpriority, NULL)
+#endif
{NULL, NULL, NULL}
};