summaryrefslogtreecommitdiff
path: root/ext/pcntl/pcntl.stub.php
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2020-05-20 13:59:44 +0200
committerGeorge Peter Banyard <girgias@php.net>2020-05-20 14:01:10 +0200
commit24de4274f31ede6b4f25b8c0e956bbca6464279e (patch)
treea9f24390e7eab0c53131ae60f718d4afc119a4d7 /ext/pcntl/pcntl.stub.php
parentd50b076fa30f5b88e05aa29cfbb70da9b0c312e4 (diff)
downloadphp-git-24de4274f31ede6b4f25b8c0e956bbca6464279e.tar.gz
Fix [-Wundef] warning in PCNTL extension
Diffstat (limited to 'ext/pcntl/pcntl.stub.php')
-rw-r--r--ext/pcntl/pcntl.stub.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcntl/pcntl.stub.php b/ext/pcntl/pcntl.stub.php
index 60e9c98a7f..5653244119 100644
--- a/ext/pcntl/pcntl.stub.php
+++ b/ext/pcntl/pcntl.stub.php
@@ -23,7 +23,7 @@ function pcntl_sigprocmask(int $how, array $set, &$oldset = null): bool {}
#endif
#ifdef HAVE_STRUCT_SIGINFO_T
-#if HAVE_SIGWAITINFO && HAVE_SIGTIMEDWAIT
+#if defined(HAVE_SIGWAITINFO) && defined(HAVE_SIGTIMEDWAIT)
function pcntl_sigwaitinfo(array $set, &$info = []): int|false {}
function pcntl_sigtimedwait(array $set, &$info = [], int $seconds = 0, int $nanoseconds = 0): int|false {}