projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8900bcc
)
Undef MemoryFence when compiling on MSVC.
author
Owen Anderson
<resistor@mac.com>
Tue, 2 Jun 2009 17:35:55 +0000
(17:35 +0000)
committer
Owen Anderson
<resistor@mac.com>
Tue, 2 Jun 2009 17:35:55 +0000
(17:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72732
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/Atomic.cpp
patch
|
blob
|
history
diff --git
a/lib/System/Atomic.cpp
b/lib/System/Atomic.cpp
index 8c61ff1069f1e9144f1f493e1879e53046336e62..cefd0bbf55386b4313af5ab47db38b8614595860 100644
(file)
--- a/
lib/System/Atomic.cpp
+++ b/
lib/System/Atomic.cpp
@@
-18,6
+18,7
@@
using namespace llvm;
#if defined(_MSC_VER)
#include <windows.h>
+#undef MemoryFence
#endif
void sys::MemoryFence() {