com php-src: Fixed bug #70386 Can't compile on NetBSD because of missing WCONTINUED: NEWS ext/pcntl/php_pcntl.h
| From: | Matteo Beccati | Date: | Sat, 29 Aug 2015 06:07:45 +0000 |
| Subject: | com php-src: Fixed bug #70386 Can't compile on NetBSD because of missing WCONTINUED: NEWS ext/pcntl/php_pcntl.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-88806@lists.php.net to get a copy of this message | ||
Commit: 6b3e44369dd205152c0486ba30cd3a24b6a6c8e0
Author: Matteo Beccati <mbeccati@php.net> Sat, 29 Aug 2015 08:04:03 +0200
Parents: ccec609b82b69ef96bc52f7c563c7eb8a68f99a0
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6b3e44369dd205152c0486ba30cd3a24b6a6c8e0
Log:
Fixed bug #70386 Can't compile on NetBSD because of missing WCONTINUED
since 90114a3e93f5209b3d880d154fdb61d3d0c67185
Bugs:
https://bugs.php.net/70386
Changed paths:
M NEWS
M ext/pcntl/php_pcntl.h
Diff:
diff --git a/NEWS b/NEWS
index bbf9997..edf0cef 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 68f2983..0183a7c 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