diff --git a/ext/sse2neon.h b/ext/sse2neon.h index 662b29b75..2531d3c5a 100644 --- a/ext/sse2neon.h +++ b/ext/sse2neon.h @@ -104,7 +104,7 @@ #pragma message("Macro name collisions may happen with unsupported compilers.") #endif -#if defined(__GNUC__) && __GNUC__ < 10 +#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ < 10 #warning "GCC versions earlier than 10 are not supported." #endif