From: DRC Date: Sat, 31 Mar 2018 18:25:44 +0000 (-0500) Subject: PowerPC: Fix comp. warning when built w/ -maltivec X-Git-Tag: 2.0.0~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7b3c0f01097ca5c2f8edb1c51d791a02a68269fd;p=libjpeg-turbo PowerPC: Fix comp. warning when built w/ -maltivec --- diff --git a/simd/powerpc/jsimd.c b/simd/powerpc/jsimd.c index f921712..d0d3981 100644 --- a/simd/powerpc/jsimd.c +++ b/simd/powerpc/jsimd.c @@ -39,7 +39,7 @@ static unsigned int simd_support = ~0; -#if defined(__linux__) || defined(ANDROID) || defined(__ANDROID__) +#if !defined(__ALTIVEC__) && (defined(__linux__) || defined(ANDROID) || defined(__ANDROID__)) #define SOMEWHAT_SANE_PROC_CPUINFO_SIZE_LIMIT (1024 * 1024)