Skip to content

Commit 5db25e0

Browse files
LeonidVasTotktonada
authored andcommitted
compilation: set use C99 mode by default
Before the patch, the default compiler compilation mode is used (including C89, version dependent). But support the C89 dialect in 2020 is strange. Accordingly, set C99 as preffered.
1 parent 97ae22d commit 5db25e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config.m4

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
dnl config.m4 for extension tarantool
2+
dnl set C compiler to C99 mode
3+
AC_PROG_CC_C99
24
PHP_ARG_ENABLE(tarantool, for tarantool support,
35
[ --enable-tarantool Enable tarantool support])
46

0 commit comments

Comments
 (0)