summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2021-02-09 15:10:06 -0800
committerSam Lantinga <slouken@libsdl.org>2021-02-09 15:10:06 -0800
commit5da3866051542e86db9bcab1513d511f1321cafe (patch)
treeba05d06af0c82a44f88d56de0dbdd38b55f299ff /src
parentb4b2c864d0a4139424fea9c5e7fbff5d77144537 (diff)
downloadsdl-master.tar.gz
Fixed bug 5539 - Clang 11 fails to compile a CMake build with conflicting types for _m_prefetchwHEADmaster
vladius 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: >#ifdef _MSC_VER >#include <intrin.h> >#endif Maybe it should be changed to something like: >#ifdef _MSC_VER >#ifndef __clang__ >#include <intrin.h> >#endif >#endif
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions