From 1e4a24f305c006a95fec00131703d0e0ecae3a38 Mon Sep 17 00:00:00 2001 From: Anton Mitrofanov Date: Mon, 11 Jan 2016 21:39:22 +0300 Subject: [PATCH] ppc: Only perform AltiVec detection if compiled with AltiVec enabled --- common/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cpu.c b/common/cpu.c index 441b8ce0..afda3a77 100644 --- a/common/cpu.c +++ b/common/cpu.c @@ -316,7 +316,7 @@ uint32_t x264_cpu_detect( void ) return cpu; } -#elif ARCH_PPC +#elif ARCH_PPC && HAVE_ALTIVEC #if SYS_MACOSX || SYS_OPENBSD || SYS_FREEBSD #include -- 2.39.5