diff options
author | Derick Rethans <derick@php.net> | 2004-08-28 12:20:06 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2004-08-28 12:20:06 +0000 |
commit | 52d6a64efa7d568496e1947c9a7b76cae60f762f (patch) | |
tree | cf30f42d77aa7d0f88c845cf8021d8652cdc36d3 /ext/pcntl/pcntl.c | |
parent | 48335493ebc63609ad469a0a01e6a4a931515ca5 (diff) | |
download | php-git-52d6a64efa7d568496e1947c9a7b76cae60f762f.tar.gz |
- Fixed bug #29873 (No defines around pcntl_*priority definitions).
Diffstat (limited to 'ext/pcntl/pcntl.c')
-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 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} }; |