mirror of https://github.com/odrling/Aegisub
Add the __STDC_CONSTANT_MACROS define to the ffms2 CFLAGS. Fixes compilation with newer ffmpeg's.
Originally committed to SVN as r4488.
This commit is contained in:
parent
ea6dac551e
commit
0a590aea04
|
@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = subdir-objects
|
|||
|
||||
noinst_LIBRARIES = libffmpegsource_aegisub.a
|
||||
|
||||
AM_CPPFLAGS = -Icore -Iinclude -D__UNIX__ -DFFMS_EXPORTS -DHAVE_STRLCPY @LIBAVFORMAT_CFLAGS@ @LIBAVCODEC_CFLAGS@ @LIBSWSCALE_CFLAGS@ @LIBAVUTIL_CFLAGS@ @LIBPOSTPROC_CFLAGS@
|
||||
AM_CPPFLAGS = -Icore -Iinclude -D__UNIX__ -DFFMS_EXPORTS -DHAVE_STRLCPY -D__STDC_CONSTANT_MACROS @LIBAVFORMAT_CFLAGS@ @LIBAVCODEC_CFLAGS@ @LIBSWSCALE_CFLAGS@ @LIBAVUTIL_CFLAGS@ @LIBPOSTPROC_CFLAGS@
|
||||
|
||||
|
||||
libffmpegsource_aegisub_a_SOURCES = \
|
||||
|
|
|
@ -19,7 +19,7 @@ def build(bld):
|
|||
obj = bld.new_task_gen(
|
||||
features = 'cc cxx cstaticlib',
|
||||
target = 'ffmpegsource_aegisub',
|
||||
defines = 'FFMS_EXPORTS HAVE_STRLCPY',
|
||||
defines = 'FFMS_EXPORTS HAVE_STRLCPY __STDC_CONSTANT_MACROS',
|
||||
includes = 'include src/core',
|
||||
uselib = 'FFMPEG')
|
||||
|
||||
|
|
Loading…
Reference in New Issue