mirror of https://github.com/encounter/SDL.git
Better fix for compiling using clang on Windows
This fixes https://github.com/libsdl-org/SDL/issues/4533
This commit is contained in:
parent
a91ab883e9
commit
bec783571b
|
@ -47,7 +47,7 @@
|
||||||
#define HAVE_AVX_INTRINSICS 1
|
#define HAVE_AVX_INTRINSICS 1
|
||||||
#endif
|
#endif
|
||||||
#if defined __clang__
|
#if defined __clang__
|
||||||
# if (__clang_major__ < 5) || !defined(__AVX__)
|
# if (__clang_major__ < 5) || defined(_MSC_VER) || defined(__SCE__)
|
||||||
# undef HAVE_AVX_INTRINSICS
|
# undef HAVE_AVX_INTRINSICS
|
||||||
# endif
|
# endif
|
||||||
#elif defined __GNUC__
|
#elif defined __GNUC__
|
||||||
|
|
Loading…
Reference in New Issue