commit | aaeada6c755e64cd3611e4476a2f97fb81b7f3cb | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Tue Jun 06 12:43:20 2017 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Tue Jun 06 12:43:20 2017 +0000 |
tree | 139b9a7a5cfcfbf28b33199f36e738d91fe97d8e | |
parent | 384232766bb678254d5ad6b1ed909647c68b7eb9 [diff] [blame] |
Fix another ordering constraint with windows.h and comment about a revers constraint that we got right (by chance). llvm-svn: 304792
diff --git a/llvm/lib/Support/Atomic.cpp b/llvm/lib/Support/Atomic.cpp index 80550e2..55910c4 100644 --- a/llvm/lib/Support/Atomic.cpp +++ b/llvm/lib/Support/Atomic.cpp
@@ -18,6 +18,8 @@ #if defined(_MSC_VER) #include <Intrin.h> + +// We must include windows.h after Intrin.h. #include <windows.h> #undef MemoryFence #endif