Skip to content

Commit

Permalink
compilation: set use C99 mode by default
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
LeonidVas authored and Totktonada committed Jul 23, 2020
1 parent 97ae22d commit 5db25e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config.m4
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
dnl config.m4 for extension tarantool
dnl set C compiler to C99 mode
AC_PROG_CC_C99
PHP_ARG_ENABLE(tarantool, for tarantool support,
[ --enable-tarantool Enable tarantool support])

Expand Down

0 comments on commit 5db25e0

Please sign in to comment.