yadif: Fix build with XCode

https://bugzilla.gnome.org/show_bug.cgi?id=710451
This commit is contained in:
Sebastian Dröge 2013-11-01 10:40:06 +01:00
parent ab3f7d6096
commit 411cf48db7

View file

@ -32,13 +32,18 @@ typedef gint64 x86_reg;
#define DECLARE_ALIGNED(n,t,v) t __attribute__ ((aligned (n))) v
#define DECLARE_ASM_CONST(n,t,v) static const t __attribute__((used)) __attribute__ ((aligned (n))) v
#if defined(__APPLE__)
# define EXTERN_PREFIX "_"
#else
# define EXTERN_PREFIX ""
#endif
#if defined(__PIC__)
# define LOCAL_MANGLE(a) #a "(%%rip)"
#else
# define LOCAL_MANGLE(a) #a
#endif
#define EXTERN_PREFIX ""
#define MANGLE(a) EXTERN_PREFIX LOCAL_MANGLE(a)
DECLARE_ASM_CONST (16, const xmm_reg, pb_1) = {