Fixed bug #70386 Can't compile on NetBSD because of missing WCONTINUED

since 90114a3e93
This commit is contained in:
Matteo Beccati 2015-08-29 08:04:03 +02:00
parent ccec609b82
commit 6b3e44369d
2 changed files with 8 additions and 2 deletions

6
NEWS
View File

@ -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)

View File

@ -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