aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/Atomic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/Atomic.cpp')
-rw-r--r--lib/Support/Atomic.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Support/Atomic.cpp b/lib/Support/Atomic.cpp
index 80550e2b46a7..55910c489faf 100644
--- a/lib/Support/Atomic.cpp
+++ b/lib/Support/Atomic.cpp
@@ -18,6 +18,8 @@ using namespace llvm;
#if defined(_MSC_VER)
#include <Intrin.h>
+
+// We must include windows.h after Intrin.h.
#include <windows.h>
#undef MemoryFence
#endif