diff libmpeg2/idct.c @ 13659:b43e5e6430e6

compile error fix on PPC/G3
author pontscho
date Sun, 17 Oct 2004 18:49:19 +0000
parents d0a8810e155c
children 96259a2f2142
line wrap: on
line diff
--- a/libmpeg2/idct.c	Sun Oct 17 17:59:38 2004 +0000
+++ b/libmpeg2/idct.c	Sun Oct 17 18:49:19 2004 +0000
@@ -246,7 +246,7 @@
 	mpeg2_idct_mmx_init ();
     } else
 #endif
-#ifdef ARCH_PPC
+#if defined( ARCH_PPC ) && defined( HAVE_ALTIVEC )
     if (accel & MPEG2_ACCEL_PPC_ALTIVEC) {
 	mpeg2_idct_copy = mpeg2_idct_copy_altivec;
 	mpeg2_idct_add = mpeg2_idct_add_altivec;