Skip to content

Commit 6b3e443

Browse files
committed
Fixed bug #70386 Can't compile on NetBSD because of missing WCONTINUED
since 90114a3
1 parent ccec609 commit 6b3e443

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

NEWS

+5-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ PHP NEWS
2020
. Fixed bug #70330 (Segmentation Fault with multiple "curl_copy_handle").
2121
(Laruence)
2222

23+
- Pcntl:
24+
. Fixed bug #70386 (Can't compile on NetBSD because of missing WCONTINUED
25+
and WIFCONTINUED). (Matteo)
26+
2327
- PDO_OCI:
2428
. Fixed bug #70308 (PDO::ATTR_PREFETCH is ignored). (Chris Jones)
2529

@@ -528,7 +532,7 @@ PHP NEWS
528532
- pcntl:
529533
. Fixed bug #60509 (pcntl_signal doesn't decrease ref-count of old handler
530534
when setting SIG_DFL). (Julien)
531-
. Added wifcontinued and wcontinued. (xilon-jul)
535+
. Request #68505 (Added wifcontinued and wcontinued). (xilon-jul)
532536
. Added rusage support to pcntl_wait() and pcntl_waitpid(). (Anton Stepanenko,
533537
Tony)
534538

ext/pcntl/php_pcntl.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
#ifndef PHP_PCNTL_H
2222
#define PHP_PCNTL_H
2323

24-
#define HAVE_WCONTINUED defined(WCONTINUED) && defined (WIFCONTINUED)
24+
#if defined(WCONTINUED) && defined(WIFCONTINUED)
25+
#define HAVE_WCONTINUED 1
26+
#endif
2527

2628
extern zend_module_entry pcntl_module_entry;
2729
#define phpext_pcntl_ptr &pcntl_module_entry

0 commit comments

Comments
 (0)