[MPlayer-cvslog] r34231 - trunk/configure

diego subversion at mplayerhq.hu
Fri Oct 21 17:44:56 CEST 2011


Author: diego
Date: Fri Oct 21 17:44:56 2011
New Revision: 34231

Log:
configure: add -D__STDC_FORMAT_MACROS to CXXFLAGS

This is required to safely #include inttypes.h in .cpp files.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Fri Oct 21 17:44:55 2011	(r34230)
+++ trunk/configure	Fri Oct 21 17:44:56 2011	(r34231)
@@ -7720,7 +7720,7 @@ libs_mplayer=$ld_tmp
 
 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


More information about the MPlayer-cvslog mailing list