The file is called "intrin.h". When building targeting Windows on a Linux
system, with the SDK mounted in a case-insensitive file system, "Intrin.h" will
miss clang's intrin.h header (because that's not in a case-insensitive file
system) but then find intrin.h in the Microsoft SDK. clang can't handle the
SDK's intrin.h.
https://reviews.llvm.org/D36281
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309980
91177308-0d34-0410-b5e6-
96231b3b80d8
using namespace llvm;
#if defined(_MSC_VER)
-#include <Intrin.h>
+#include <intrin.h>
-// We must include windows.h after Intrin.h.
+// We must include windows.h after intrin.h.
#include <windows.h>
#undef MemoryFence
#endif