From dfa844b24aa11254d01f193965987612cf0ebc1e Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Wed, 21 Mar 2007 11:56:58 +0000 Subject: [PATCH] Make SM play nice with ffmpeg. --- stepmania/src/archutils/Darwin/arch_setup.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/stepmania/src/archutils/Darwin/arch_setup.h b/stepmania/src/archutils/Darwin/arch_setup.h index 8ac543bf7b..c6ec18d1ee 100644 --- a/stepmania/src/archutils/Darwin/arch_setup.h +++ b/stepmania/src/archutils/Darwin/arch_setup.h @@ -14,6 +14,9 @@ typedef signed long SInt32; typedef signed long long SInt64; typedef unsigned long long UInt64; +#define __STDC_CONSTANT_MACROS +#include + // We cannot include MacTypes.h here because it defines Style which conflicts with struct Style. #define __MACTYPES__ #include @@ -221,6 +224,12 @@ namespace std // Cleanup macro #undef _GLIB_CHECK +#include +#ifndef EILSEQ +#define EILSEQ 92 +#endif +#define attribute_deprecated // Shut ffmpeg up! + #endif /*