diff options
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} }; |