diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-02-16 17:44:49 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-02-16 17:44:49 +0000 |
commit | 2fb3a82350cc86469e144d6cb5868fa1be6f9ea7 (patch) | |
tree | b86b410962a354c30c318571e99a6a1a45dc5222 /libmpeg2/cpu_state.c | |
parent | 9b3be6a2ca917e3a0339b7e1e96c31ef7d5530d2 (diff) | |
download | mpv-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_state.c')
-rw-r--r-- | libmpeg2/cpu_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpeg2/cpu_state.c b/libmpeg2/cpu_state.c index 819f693e32..1d3ee2be47 100644 --- a/libmpeg2/cpu_state.c +++ b/libmpeg2/cpu_state.c @@ -48,7 +48,7 @@ static void state_restore_mmx (cpu_state_t * state) #endif #if defined(ARCH_PPC) && defined(HAVE_ALTIVEC) -#if defined( __APPLE_CC__ ) && defined( __APPLE_ALTIVEC__ ) /* apple */ +#if defined(__APPLE_CC__) /* apple */ #define LI(a,b) "li r" #a "," #b "\n\t" #define STVX0(a,b,c) "stvx v" #a ",0,r" #c "\n\t" #define STVX(a,b,c) "stvx v" #a ",r" #b ",r" #c "\n\t" |