not supported by Clang

This commit is contained in:
Ken Cooke 2016-02-11 15:15:50 -08:00
parent 27494e54c5
commit c4b09c3603

View file

@ -143,7 +143,7 @@ static bool cpuSupportsAVX() {
return result;
}
#elif defined(__GNUC__)
#elif defined(__GNUC__) && !defined(__clang__)
static bool cpuSupportsAVX() {
return __builtin_cpu_supports("avx");