Skip to content

Commit e33de9d

Browse files
devnexencmb69
authored andcommitted
Fix pcntl Haiku build
guarding SIGIO constant. Closes GH-8612.
1 parent 2a13304 commit e33de9d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ PHP NEWS
2121
. Fixed bug GH-8466 (ini_get() is optimized out when the option does not
2222
exist). (Arnaud)
2323

24+
- Pcntl:
25+
. Fixed Haiku build. (David Carlier)
26+
2427
- Soap:
2528
. Fixed bug GH-8578 (Error on wrong parameter on SoapHeader constructor).
2629
(robertnisipeanu)

ext/pcntl/pcntl.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,9 @@ void php_register_signal_constants(INIT_FUNC_ARGS)
151151
#ifdef SIGPOLL
152152
REGISTER_LONG_CONSTANT("SIGPOLL", (zend_long) SIGPOLL, CONST_CS | CONST_PERSISTENT);
153153
#endif
154+
#ifdef SIGIO
154155
REGISTER_LONG_CONSTANT("SIGIO", (zend_long) SIGIO, CONST_CS | CONST_PERSISTENT);
156+
#endif
155157
#ifdef SIGPWR
156158
REGISTER_LONG_CONSTANT("SIGPWR", (zend_long) SIGPWR, CONST_CS | CONST_PERSISTENT);
157159
#endif

0 commit comments

Comments
 (0)