From 3bdba7654981df0e6d1227530c0684f3c501d3c9 Mon Sep 17 00:00:00 2001 From: Karl Blomster Date: Wed, 15 Sep 2010 00:01:59 +0000 Subject: [PATCH] I have no idea what kind of enterprising faggot broke this but apparently we need __STDC_FORMAT_MACROS now. I hope this breaks on some other platform, that would be hilarious. Originally committed to SVN as r4782. --- aegisub/src/agi_pre.h | 1 + aegisub/src/ffmpegsource_common.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/aegisub/src/agi_pre.h b/aegisub/src/agi_pre.h index d516c2571..5e7500332 100644 --- a/aegisub/src/agi_pre.h +++ b/aegisub/src/agi_pre.h @@ -86,6 +86,7 @@ #include #endif +#define __STDC_FORMAT_MACROS // General headers #include #include diff --git a/aegisub/src/ffmpegsource_common.cpp b/aegisub/src/ffmpegsource_common.cpp index e4b474c69..b41d2033c 100644 --- a/aegisub/src/ffmpegsource_common.cpp +++ b/aegisub/src/ffmpegsource_common.cpp @@ -39,6 +39,7 @@ #ifdef WITH_FFMPEGSOURCE #ifndef AGI_PRE +#define __STDC_FORMAT_MACROS #include #include