changeset 13659:b43e5e6430e6

compile error fix on PPC/G3
author pontscho
date Sun, 17 Oct 2004 18:49:19 +0000
parents 8c93573e0cdf
children b34c5aa5f798
files libmpeg2/idct.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;