mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 23:35:38 +00:00
Don't disable clang avx instrinsics on win32 if __AVX__ is defined.
C.f.: https://github.com/libsdl-org/SDL/issues/4533
This commit is contained in:
parent
ae7ee2a59c
commit
44a76710d1
|
@ -47,7 +47,10 @@
|
||||||
#define HAVE_AVX_INTRINSICS 1
|
#define HAVE_AVX_INTRINSICS 1
|
||||||
#endif
|
#endif
|
||||||
#if defined __clang__
|
#if defined __clang__
|
||||||
# if (__clang_major__ < 5) || defined(_MSC_VER) || defined(__SCE__)
|
# if (__clang_major__ < 5)
|
||||||
|
# undef HAVE_AVX_INTRINSICS
|
||||||
|
# endif
|
||||||
|
# if (defined(_MSC_VER) || defined(__SCE__)) && !defined(__AVX__)
|
||||||
# undef HAVE_AVX_INTRINSICS
|
# undef HAVE_AVX_INTRINSICS
|
||||||
# endif
|
# endif
|
||||||
#elif defined __GNUC__
|
#elif defined __GNUC__
|
||||||
|
|
Loading…
Reference in a new issue