Mercurial > mplayer.hg
diff liba52/imdct.c @ 26895:2aadf9302854
Check for HAVE_ALTIVEC_VECTOR_BRACES instead of __APPLE_CC__.
author | diego |
---|---|
date | Fri, 30 May 2008 12:05:24 +0000 |
parents | 236ab58453f7 |
children | bb5ed9aa34fc |
line wrap: on
line diff
--- a/liba52/imdct.c Fri May 30 11:45:08 2008 +0000 +++ b/liba52/imdct.c Fri May 30 12:05:24 2008 +0000 @@ -382,10 +382,10 @@ #define WORD_s2 0x18,0x19,0x1a,0x1b #define WORD_s3 0x1c,0x1d,0x1e,0x1f -#ifdef __APPLE_CC__ +#ifdef HAVE_ALTIVEC_VECTOR_BRACES +#define AVV(x...) {x} +#else #define AVV(x...) (x) -#else -#define AVV(x...) {x} #endif #define vcprm(a,b,c,d) (const vector unsigned char)AVV(WORD_ ## a, WORD_ ## b, WORD_ ## c, WORD_ ## d)