From 1cb5b79098da4f89b481ae98e19eb850dd417fcf Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Tue, 24 Apr 2007 21:11:43 +0000 Subject: [PATCH] # Linux fixes Make sure INT64_C is defined (since FFmpeg wants it) This was SVN commit r4992. --- .../tools/atlas/AtlasUI/General/VideoRecorder/FFmpeg.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/tools/atlas/AtlasUI/General/VideoRecorder/FFmpeg.cpp b/source/tools/atlas/AtlasUI/General/VideoRecorder/FFmpeg.cpp index 519888ef30..8cdc77ce63 100644 --- a/source/tools/atlas/AtlasUI/General/VideoRecorder/FFmpeg.cpp +++ b/source/tools/atlas/AtlasUI/General/VideoRecorder/FFmpeg.cpp @@ -17,6 +17,13 @@ Please complain if I forget to do those things. */ +#ifdef __GNUC__ +// ugly hack to make recent versions of FFmpeg work +#define __STDC_CONSTANT_MACROS +#undef _STDINT_H +#include +#endif + #include "FFmpeg.h" #ifdef _MSC_VER