From 444632eae6f4f72c35f0f5f2fa1afda2859d3113 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 9 Jan 2012 03:42:46 +0100 Subject: [PATCH] cabac: Disable get_cabac_inline_x86() for clang 2.9 on x86_32 This should finally fix the compilation issue on darwin Signed-off-by: Michael Niedermayer --- libavcodec/x86/cabac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/x86/cabac.h b/libavcodec/x86/cabac.h index 3c3652d5f0..983cf385b7 100644 --- a/libavcodec/x86/cabac.h +++ b/libavcodec/x86/cabac.h @@ -81,7 +81,7 @@ "add "tmp" , "low" \n\t"\ "1: \n\t" -#if HAVE_7REGS && !defined(BROKEN_RELOCATIONS) +#if HAVE_7REGS && !defined(BROKEN_RELOCATIONS) && !(defined(__i386) && __clang_major__==2 && __clang_minor__==9) #define get_cabac_inline get_cabac_inline_x86 static av_always_inline int get_cabac_inline_x86(CABACContext *c, uint8_t *const state)