summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/System/Atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/System/Atomic.h b/llvm/include/llvm/System/Atomic.h
index d062f995c98..03af143ed5c 100644
--- a/llvm/include/llvm/System/Atomic.h
+++ b/llvm/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!
OpenPOWER on IntegriCloud