summaryrefslogtreecommitdiffstats
path: root/libmpeg2
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-10-29 19:03:55 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-10-29 19:03:55 +0000
commit6955e89f2af650e6973cd4ef0604d52d8c5bc900 (patch)
treea84ff0169e844d13dffc5dd1fb6969ac3b8a711c /libmpeg2
parent10c99e8c9e1839b3e8d60512dcaa2d0572f14213 (diff)
downloadmpv-6955e89f2af650e6973cd4ef0604d52d8c5bc900.tar.bz2
mpv-6955e89f2af650e6973cd4ef0604d52d8c5bc900.tar.xz
compile fix on G3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13799 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpeg2')
-rw-r--r--libmpeg2/cpu_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpeg2/cpu_state.c b/libmpeg2/cpu_state.c
index 2a032dec00..994b703105 100644
--- a/libmpeg2/cpu_state.c
+++ b/libmpeg2/cpu_state.c
@@ -43,7 +43,7 @@ static void state_restore_mmx (cpu_state_t * state)
}
#endif
-#ifdef ARCH_PPC
+#if defined( ARCH_PPC ) && defined( HAVE_ALTIVEC )
#ifdef HAVE_ALTIVEC_H /* gnu */
#define LI(a,b) "li " #a "," #b "\n\t"
#define STVX0(a,b,c) "stvx " #a ",0," #c "\n\t"