summaryrefslogtreecommitdiffstats
path: root/libmpeg2/cpu_accel.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-02-16 17:44:49 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-02-16 17:44:49 +0000
commit2fb3a82350cc86469e144d6cb5868fa1be6f9ea7 (patch)
treeb86b410962a354c30c318571e99a6a1a45dc5222 /libmpeg2/cpu_accel.c
parent9b3be6a2ca917e3a0339b7e1e96c31ef7d5530d2 (diff)
downloadmpv-2fb3a82350cc86469e144d6cb5868fa1be6f9ea7.tar.bz2
mpv-2fb3a82350cc86469e144d6cb5868fa1be6f9ea7.tar.xz
Do not check for __APPLE_ALTIVEC__, just check for __APPLE_CC__.
This should work even when -faltivec is not specified. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26012 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpeg2/cpu_accel.c')
-rw-r--r--libmpeg2/cpu_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpeg2/cpu_accel.c b/libmpeg2/cpu_accel.c
index 59f7167c37..1fae2ed302 100644
--- a/libmpeg2/cpu_accel.c
+++ b/libmpeg2/cpu_accel.c
@@ -168,7 +168,7 @@ static uint32_t arch_accel (void)
canjump = 1;
-#if defined( __APPLE_CC__ ) && defined( __APPLE_ALTIVEC__ ) /* apple */
+#if defined(__APPLE_CC__) /* apple */
#define VAND(a,b,c) "vand v" #a ",v" #b ",v" #c "\n\t"
#else /* gnu */
#define VAND(a,b,c) "vand " #a "," #b "," #c "\n\t"