Related to https://github.com/NoiseByNorthwest/php-spx/pull/305 --- a/src/php_spx.h +++ b/src/php_spx.h @@ -31,7 +31,7 @@ # error "Only x86-64 and ARM64 architectures are supported" #endif -#if ZEND_MODULE_API_NO < 20100525 || ZEND_MODULE_API_NO > 20240924 +#if ZEND_MODULE_API_NO < 20100525 || ZEND_MODULE_API_NO > 20250925 # error "Only the following PHP versions are supported: 5.4 to 8.4" #endif --- a/config.m4 +++ b/config.m4 @@ -19,7 +19,7 @@ AC_DEFINE_UNQUOTED([SPX_HTTP_UI_ASSETS_DIR], [ "$PHP_SPX_ASSETS_DIR/web-ui" ], [path of web-ui assets directory]) PHP_SUBST([PHP_SPX_ASSETS_DIR]) - CFLAGS="-Werror -Wall -O3 -pthread -std=gnu90" + CFLAGS="-Werror -Wall -O3 -pthread -std=gnu11" if test "$(uname -s 2>/dev/null)" = "Darwin" then