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:
0310d76
)
Improve compatibility with older versions of Windows.
author
Owen Anderson
<resistor@mac.com>
Fri, 15 May 2009 10:40:23 +0000
(10:40 +0000)
committer
Owen Anderson
<resistor@mac.com>
Fri, 15 May 2009 10:40:23 +0000
(10:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71855
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/System/Atomic.h
patch
|
blob
|
history
diff --git
a/include/llvm/System/Atomic.h
b/include/llvm/System/Atomic.h
index d062f995c98500d14f97dbde5663e461e183be61..03af143ed5cbb0e40a94e62b3163aabc8f390a78 100644
(file)
--- a/
include/llvm/System/Atomic.h
+++ b/
include/llvm/System/Atomic.h
@@
-70,7
+70,7
@@
namespace llvm {
typedef volatile long cas_flag;
inline cas_flag CompareAndSwap(cas_flag* dest, cas_flag exc, cas_flag c) {
- return
_
InterlockedCompareExchange(dest, exc, c);
+ return InterlockedCompareExchange(dest, exc, c);
}
#else
#error No memory atomics implementation for your platform!