From: Emil Velikov Date: Thu, 26 Jan 2017 13:24:04 +0000 (+0000) Subject: autoconf: set all __STDC_*_MACROS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9e9e917c263898bf1a787c5ebb263ef87ef9604e;p=mesa.git 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 Reviewed-by: Eric Engestrom Reviewed-by: Jose Fonseca --- 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