Skip to content

Commit 83b5c6b

Browse files
authored
Fix compilation with NO_AVX=1 set
fixes #1974
1 parent 32b0f11 commit 83b5c6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpuid_x86.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ int support_avx2(){
228228
}
229229

230230
int support_avx512(){
231-
#ifndef NO_AVX512
231+
#if !defined(NO_AVX) && !defined(NO_AVX512)
232232
int eax, ebx, ecx, edx;
233233
int ret=0;
234234

0 commit comments

Comments
 (0)