From 83b5c6b92dc6f66becae1418beef60042eb92c6d Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sun, 20 Jan 2019 12:18:53 +0100 Subject: [PATCH] Fix compilation with NO_AVX=1 set fixes #1974 --- cpuid_x86.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpuid_x86.c b/cpuid_x86.c index 726014033..c45ddd968 100644 --- a/cpuid_x86.c +++ b/cpuid_x86.c @@ -228,7 +228,7 @@ int support_avx2(){ } int support_avx512(){ -#ifndef NO_AVX512 +#if !defined(NO_AVX) && !defined(NO_AVX512) int eax, ebx, ecx, edx; int ret=0;