use the correct macro for detecting GCC

This commit is contained in:
Ken Cooke 2016-02-11 12:58:23 -08:00
parent a4afa03fe5
commit 27494e54c5

View file

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