changeset 13798:1c514c78c7b4

compile fix on G3
author pontscho
date Fri, 29 Oct 2004 19:03:55 +0000
parents f84eeb35e13a
children 1ca6346528c2
files libmpeg2/cpu_state.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpeg2/cpu_state.c	Fri Oct 29 15:29:07 2004 +0000
+++ b/libmpeg2/cpu_state.c	Fri Oct 29 19:03:55 2004 +0000
@@ -43,7 +43,7 @@
 }
 #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"