diff options
author | Matteo Beccati <mbeccati@php.net> | 2015-08-29 08:04:03 +0200 |
---|---|---|
committer | Matteo Beccati <mbeccati@php.net> | 2015-08-29 08:07:45 +0200 |
commit | 6b3e44369dd205152c0486ba30cd3a24b6a6c8e0 (patch) | |
tree | 35969f28fc6036662219b0c9cb1a6df8f2055088 | |
parent | ccec609b82b69ef96bc52f7c563c7eb8a68f99a0 (diff) | |
download | php-git-6b3e44369dd205152c0486ba30cd3a24b6a6c8e0.tar.gz |
Fixed bug #70386 Can't compile on NetBSD because of missing WCONTINUED
since 90114a3e93f5209b3d880d154fdb61d3d0c67185
-rw-r--r-- | NEWS | 6 | ||||
-rw-r--r-- | ext/pcntl/php_pcntl.h | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -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 |