summaryrefslogtreecommitdiffstats
path: root/libmpeg2/cpu_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpeg2/cpu_state.c')
-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 1d3ee2be47..1ef77b7cea 100644
--- a/libmpeg2/cpu_state.c
+++ b/libmpeg2/cpu_state.c
@@ -124,7 +124,7 @@ void mpeg2_cpu_state_init (uint32_t accel)
mpeg2_cpu_state_restore = state_restore_mmx;
}
#endif
-#if defined(ARCH_PPC) && defined(HAVE_ALTIVEC)
+#ifdef ARCH_PPC
if (accel & MPEG2_ACCEL_PPC_ALTIVEC) {
mpeg2_cpu_state_save = state_save_altivec;
mpeg2_cpu_state_restore = state_restore_altivec;