mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 09:45:00 +00:00
Fix llvm-for-windows-on-linux build after LLVM r272701.
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 llvm-svn: 309980
This commit is contained in:
parent
aecadf6952
commit
b364d67ef2
@ -17,9 +17,9 @@
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user