mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 00:42:57 +00:00
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
This commit is contained in:
parent
76ce3b7d6e
commit
2934b22c80
2
configure
vendored
2
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user