Fixed bug 5539 - Clang 11 fails to compile a CMake build with conflicting types for _m_prefetchw
In SDL_cpuinfo.h it seems like <intrin.h> is not included when __clang__ is defined, as the comment in the file explicitly reads:
"Many of the intrinsics SDL uses are not implemented by clang with Visual Studio"
However, the SDL_endian.h header does include <intrin.h> without any precautions like:
Maybe it should be changed to something like:
1 file changed