summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authormplayer-svn <svn@mplayerhq.hu>2011-10-21 15:44:56 +0000
committerwm4 <wm4@nowhere>2012-08-03 01:31:19 +0200
commit2934b22c8015bdf7a9f7d5c1e9cd23d96917b2c1 (patch)
tree611a90686b03a085605060efd767d429bbd1b13b /configure
parent76ce3b7d6ef27a7289fa3fa1aa0e456a63a18e61 (diff)
downloadmpv-2934b22c8015bdf7a9f7d5c1e9cd23d96917b2c1.tar.bz2
mpv-2934b22c8015bdf7a9f7d5c1e9cd23d96917b2c1.tar.xz
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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