changeset 34143:3f73c0da20c7

configure: add -D__STDC_FORMAT_MACROS to CXXFLAGS This is required to safely #include inttypes.h in .cpp files.
author diego
date Fri, 21 Oct 2011 15:44:56 +0000
parents bd4f91a73fda
children beafae9de2be
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri Oct 21 15:44:55 2011 +0000
+++ b/configure	Fri Oct 21 15:44:56 2011 +0000
@@ -7720,7 +7720,7 @@
 
 CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE"
 
-CXXFLAGS=" $CFLAGS -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS"
+CXXFLAGS=" $CFLAGS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS"
 
 # This must be the last test to be performed. Any other tests following it
 # could fail due to linker errors. libdvdnavmini is intentionally not linked