From 2934b22c8015bdf7a9f7d5c1e9cd23d96917b2c1 Mon Sep 17 00:00:00 2001 From: mplayer-svn Date: Fri, 21 Oct 2011 15:44:56 +0000 Subject: configure: add -D__STDC_FORMAT_MACROS to CXXFLAGS This is required to safely #include inttypes.h in .cpp files. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34231 b3059339-0415-0410-9bf9-f77b7e298cf2 Author: diego --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index a889ba25dd..d5e737578d 100755 --- a/configure +++ b/configure @@ -3834,7 +3834,7 @@ echores "$_lircc" 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 -- cgit v1.2.3