From: Anton Mitrofanov Date: Mon, 11 Jan 2016 18:39:22 +0000 (+0300) Subject: ppc: Only perform AltiVec detection if compiled with AltiVec enabled X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=1e4a24f305c006a95fec00131703d0e0ecae3a38;p=x264 ppc: Only perform AltiVec detection if compiled with AltiVec enabled --- 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