From bec783571b1e8ed0f272c3fa6327d4f88efb49b4 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 6 Aug 2021 14:20:55 -0700 Subject: [PATCH] Better fix for compiling using clang on Windows This fixes https://github.com/libsdl-org/SDL/issues/4533 --- src/audio/SDL_audiocvt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/SDL_audiocvt.c b/src/audio/SDL_audiocvt.c index aec67667d..f422b2b96 100644 --- a/src/audio/SDL_audiocvt.c +++ b/src/audio/SDL_audiocvt.c @@ -47,7 +47,7 @@ #define HAVE_AVX_INTRINSICS 1 #endif #if defined __clang__ -# if (__clang_major__ < 5) || !defined(__AVX__) +# if (__clang_major__ < 5) || defined(_MSC_VER) || defined(__SCE__) # undef HAVE_AVX_INTRINSICS # endif #elif defined __GNUC__