diff options
author | Emil Velikov <[email protected]> | 2017-01-26 13:24:04 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-01-27 17:56:57 +0000 |
commit | 9e9e917c263898bf1a787c5ebb263ef87ef9604e (patch) | |
tree | ca3ee571218b78683950b6a1f9b8936d5e5a0a5f | |
parent | d68ffa9446c6f05ae3bbb92b7b8136450e6dc94d (diff) |
autoconf: set all __STDC_*_MACROS
Analogous to previous commit(s), with a minor detail - here we set the
macros when building both C and C++ sources.
Resolving that is a more challenging task that we'll sort out another
day.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index b35adc8a3aa..8ce5b805fb7 100644 --- a/configure.ac +++ b/configure.ac @@ -259,7 +259,7 @@ _SAVE_LDFLAGS="$LDFLAGS" _SAVE_CPPFLAGS="$CPPFLAGS" dnl Compiler macros -DEFINES="-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS" +DEFINES="-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" AC_SUBST([DEFINES]) android=no case "$host_os" in |