[llvm-commits] [llvm] r72732 - /llvm/trunk/lib/System/Atomic.cpp
Owen Anderson
resistor at mac.com
Tue Jun 2 10:35:55 PDT 2009
Author: resistor
Date: Tue Jun 2 12:35:55 2009
New Revision: 72732
URL: http://llvm.org/viewvc/llvm-project?rev=72732&view=rev
Log:
Undef MemoryFence when compiling on MSVC.
Modified:
llvm/trunk/lib/System/Atomic.cpp
Modified: llvm/trunk/lib/System/Atomic.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/Atomic.cpp?rev=72732&r1=72731&r2=72732&view=diff
==============================================================================
--- llvm/trunk/lib/System/Atomic.cpp (original)
+++ llvm/trunk/lib/System/Atomic.cpp Tue Jun 2 12:35:55 2009
@@ -18,6 +18,7 @@
#if defined(_MSC_VER)
#include <windows.h>
+#undef MemoryFence
#endif
void sys::MemoryFence() {
More information about the llvm-commits
mailing list