Fix pcntl Haiku build

guarding SIGIO constant.

Closes GH-8612.
This commit is contained in:
David Carlier 2022-05-23 19:20:33 +00:00 committed by Christoph M. Becker
parent 2a13304b2e
commit e33de9dda8
No known key found for this signature in database
GPG key ID: D66C9593118BCCB6
2 changed files with 5 additions and 0 deletions

3
NEWS
View file

@ -21,6 +21,9 @@ PHP NEWS
. Fixed bug GH-8466 (ini_get() is optimized out when the option does not . Fixed bug GH-8466 (ini_get() is optimized out when the option does not
exist). (Arnaud) exist). (Arnaud)
- Pcntl:
. Fixed Haiku build. (David Carlier)
- Soap: - Soap:
. Fixed bug GH-8578 (Error on wrong parameter on SoapHeader constructor). . Fixed bug GH-8578 (Error on wrong parameter on SoapHeader constructor).
(robertnisipeanu) (robertnisipeanu)

View file

@ -151,7 +151,9 @@ void php_register_signal_constants(INIT_FUNC_ARGS)
#ifdef SIGPOLL #ifdef SIGPOLL
REGISTER_LONG_CONSTANT("SIGPOLL", (zend_long) SIGPOLL, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("SIGPOLL", (zend_long) SIGPOLL, CONST_CS | CONST_PERSISTENT);
#endif #endif
#ifdef SIGIO
REGISTER_LONG_CONSTANT("SIGIO", (zend_long) SIGIO, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("SIGIO", (zend_long) SIGIO, CONST_CS | CONST_PERSISTENT);
#endif
#ifdef SIGPWR #ifdef SIGPWR
REGISTER_LONG_CONSTANT("SIGPWR", (zend_long) SIGPWR, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("SIGPWR", (zend_long) SIGPWR, CONST_CS | CONST_PERSISTENT);
#endif #endif