]> granicus.if.org Git - json-c/commit
Use a macro to indicate C99 to the compiler
authorSevan Janiyan <venture37@geeklan.co.uk>
Tue, 5 Jan 2016 11:43:17 +0000 (11:43 +0000)
committerSevan Janiyan <venture37@geeklan.co.uk>
Tue, 5 Jan 2016 11:43:17 +0000 (11:43 +0000)
commit7150b7f28d32435955391780ca9df7715bbfeda7
treed9d8b260c306aa9dd412a69a44bf4a69fda85ba0
parent537f8bcbdbdc10ffa7673199a0be82ca4eb56ec8
Use a macro to indicate C99 to the compiler

The [AC_PROG_CC_C99 macro](https://www.gnu.org/software/autoconf/manual/autoconf-2.64/html_node/C-Compiler.html) sets the complier to the C99 standard if the compiler does not default to such behaviour (albeit gnu99). This is better than specifically hardcoding flags
configure.ac