summaryrefslogtreecommitdiffstats
path: root/mp3lib
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-30 12:05:24 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-30 12:05:24 +0000
commitc6fe9d1af4e94684738a75ee743293ac1f3c8d10 (patch)
tree1e4fac5e65b1bdf30365604d8a0b037858e2a8c2 /mp3lib
parentb1bbd23b616a1288f58cff7d7997c61ab95a5bd2 (diff)
downloadmpv-c6fe9d1af4e94684738a75ee743293ac1f3c8d10.tar.bz2
mpv-c6fe9d1af4e94684738a75ee743293ac1f3c8d10.tar.xz
Check for HAVE_ALTIVEC_VECTOR_BRACES instead of __APPLE_CC__.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26927 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp3lib')
-rw-r--r--mp3lib/dct64_altivec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mp3lib/dct64_altivec.c b/mp3lib/dct64_altivec.c
index eb64069f61..b884903623 100644
--- a/mp3lib/dct64_altivec.c
+++ b/mp3lib/dct64_altivec.c
@@ -27,10 +27,10 @@
#define WORD_s2 0x18,0x19,0x1a,0x1b
#define WORD_s3 0x1c,0x1d,0x1e,0x1f
-#ifdef __APPLE_CC__
-#define AVV(x...) (x)
-#else
+#ifdef HAVE_ALTIVEC_VECTOR_BRACES
#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)