8000 Restore gnu90 for PHP <8.2 · NoiseByNorthwest/php-spx@e7973c2 · GitHub
[go: up one dir, main page]

Skip to content

Commit e7973c2

Browse files
Restore gnu90 for PHP <8.2
1 parent 2480586 commit e7973c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config.m4

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ if test "$PHP_SPX" = "yes"; then
2626
CFLAGS="$CFLAGS -std=c11"
2727
AC_MSG_NOTICE([Adding -std=c11 because PHP >= 8.2])
2828
else
29-
AC_MSG_NOTICE([Not adding -std=c11 because PHP < 8.2])
29+
CFLAGS="$CFLAGS -std=gnu90"
30+
AC_MSG_NOTICE([Adding -std=gnu90 because PHP < 8.2])
3031
fi
3132

3233
# Disabling typedef-redefinition is required for:

0 commit comments

Comments
 (0)
0