cpu.c: Really fix compiler warnings
authorErik de Castro Lopo <erikd@mega-nerd.com>
Mon, 12 Sep 2016 07:27:03 +0000 (17:27 +1000)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Mon, 12 Sep 2016 07:27:11 +0000 (17:27 +1000)
src/libFLAC/cpu.c

index db68b8d..c0e29ad 100644 (file)
@@ -82,7 +82,7 @@ static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE = 0x02000000;
 static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE2 = 0x04000000;
 #endif
 
-#if FLAC__HAS_X86INTRIN && FLAC__AVX_SUPPORTED
+#if FLAC__HAS_X86INTRIN || FLAC__AVX_SUPPORTED
 /* these are flags in ECX of CPUID AX=00000001 */
 static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE3 = 0x00000001;
 static const unsigned FLAC__CPUINFO_IA32_CPUID_SSSE3 = 0x00000200;