Skip to content

Commit 6c1ea04

Browse files
committed
Merge branch 'PHP-8.1'
* PHP-8.1: Fix pcntl Haiku build
2 parents 06c3f9b + 5017240 commit 6c1ea04

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/pcntl/pcntl.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,9 @@ void php_register_signal_constants(INIT_FUNC_ARGS)
152152
#ifdef SIGPOLL
153153
REGISTER_LONG_CONSTANT("SIGPOLL", (zend_long) SIGPOLL, CONST_CS | CONST_PERSISTENT);
154154
#endif
155+
#ifdef SIGIO
155156
REGISTER_LONG_CONSTANT("SIGIO", (zend_long) SIGIO, CONST_CS | CONST_PERSISTENT);
157+
#endif
156158
#ifdef SIGPWR
157159
REGISTER_LONG_CONSTANT("SIGPWR", (zend_long) SIGPWR, CONST_CS | CONST_PERSISTENT);
158160
#endif

0 commit comments

Comments
 (0)