1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

fix build warnings for Haiku.

especially linker warning about php binary having an executable stack.

cloe GH-19575
This commit is contained in:
David Carlier
2025-08-24 20:09:17 +00:00
parent 366a5a2b37
commit 2a96af743e
3 changed files with 9 additions and 1 deletions

View File

@@ -109,7 +109,9 @@ ZEND_DECLARE_MODULE_GLOBALS(sockets)
} \
} while (0)
#else
#define PHP_ETH_PROTO_CHECK(protocol, family) (0)
#define PHP_ETH_PROTO_CHECK(protocol, family) \
(void)protocol; \
(void)family
#endif
static PHP_GINIT_FUNCTION(sockets);