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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user