Mercurial > mplayer.hg
changeset 10299:71ae59ea3c46
Fixed compilation on g3. Patch by Dan Christiansen <danchr@daimi.au.dk>
author | alex |
---|---|
date | Tue, 17 Jun 2003 22:24:08 +0000 |
parents | 4053e9c22c88 |
children | 134e4332f550 |
files | libmpeg2/cpu_state.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpeg2/cpu_state.c Tue Jun 17 22:16:00 2003 +0000 +++ b/libmpeg2/cpu_state.c Tue Jun 17 22:24:08 2003 +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" @@ -120,7 +120,7 @@ mpeg2_cpu_state_restore = state_restore_mmx; } #endif -#ifdef ARCH_PPC +#if defined(ARCH_PPC) && defined(HAVE_ALTIVEC) if (accel & MPEG2_ACCEL_PPC_ALTIVEC) { mpeg2_cpu_state_save = state_save_altivec; mpeg2_cpu_state_restore = state_restore_altivec;