summaryrefslogtreecommitdiff
path: root/ext/pcntl/php_pcntl.h
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/php_pcntl.h
parent48335493ebc63609ad469a0a01e6a4a931515ca5 (diff)
downloadphp-git-52d6a64efa7d568496e1947c9a7b76cae60f762f.tar.gz
- Fixed bug #29873 (No defines around pcntl_*priority definitions).
Diffstat (limited to 'ext/pcntl/php_pcntl.h')
-rw-r--r--ext/pcntl/php_pcntl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/pcntl/php_pcntl.h b/ext/pcntl/php_pcntl.h
index b9ac364f85..590d5779bd 100644
--- a/ext/pcntl/php_pcntl.h
+++ b/ext/pcntl/php_pcntl.h
@@ -51,8 +51,12 @@ PHP_FUNCTION(pcntl_wtermsig);
PHP_FUNCTION(pcntl_wstopsig);
PHP_FUNCTION(pcntl_signal);
PHP_FUNCTION(pcntl_exec);
+#ifdef HAVE_GETPRIORITY
PHP_FUNCTION(pcntl_getpriority);
+#endif
+#ifdef HAVE_SETPRIORITY
PHP_FUNCTION(pcntl_setpriority);
+#endif
ZEND_BEGIN_MODULE_GLOBALS(pcntl)
HashTable php_signal_table;