summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Beccati <mbeccati@php.net>2015-08-29 08:04:03 +0200
committerMatteo Beccati <mbeccati@php.net>2015-08-29 08:07:45 +0200
commit6b3e44369dd205152c0486ba30cd3a24b6a6c8e0 (patch)
tree35969f28fc6036662219b0c9cb1a6df8f2055088
parentccec609b82b69ef96bc52f7c563c7eb8a68f99a0 (diff)
downloadphp-git-6b3e44369dd205152c0486ba30cd3a24b6a6c8e0.tar.gz
Fixed bug #70386 Can't compile on NetBSD because of missing WCONTINUED
since 90114a3e93f5209b3d880d154fdb61d3d0c67185
-rw-r--r--NEWS6
-rw-r--r--ext/pcntl/php_pcntl.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index bbf9997116..edf0cef49f 100644
--- a/NEWS
+++ b/NEWS
@@ -20,6 +20,10 @@ PHP NEWS
. Fixed bug #70330 (Segmentation Fault with multiple "curl_copy_handle").
(Laruence)
+- Pcntl:
+ . Fixed bug #70386 (Can't compile on NetBSD because of missing WCONTINUED
+ and WIFCONTINUED). (Matteo)
+
- PDO_OCI:
. Fixed bug #70308 (PDO::ATTR_PREFETCH is ignored). (Chris Jones)
@@ -528,7 +532,7 @@ PHP NEWS
- pcntl:
. Fixed bug #60509 (pcntl_signal doesn't decrease ref-count of old handler
when setting SIG_DFL). (Julien)
- . Added wifcontinued and wcontinued. (xilon-jul)
+ . Request #68505 (Added wifcontinued and wcontinued). (xilon-jul)
. Added rusage support to pcntl_wait() and pcntl_waitpid(). (Anton Stepanenko,
Tony)
diff --git a/ext/pcntl/php_pcntl.h b/ext/pcntl/php_pcntl.h
index 68f2983a24..0183a7c093 100644
--- a/ext/pcntl/php_pcntl.h
+++ b/ext/pcntl/php_pcntl.h
@@ -21,7 +21,9 @@
#ifndef PHP_PCNTL_H
#define PHP_PCNTL_H
-#define HAVE_WCONTINUED defined(WCONTINUED) && defined (WIFCONTINUED)
+#if defined(WCONTINUED) && defined(WIFCONTINUED)
+#define HAVE_WCONTINUED 1
+#endif
extern zend_module_entry pcntl_module_entry;
#define phpext_pcntl_ptr &pcntl_module_entry