[llvm-commits] [llvm] r72167 - /llvm/trunk/include/llvm/System/Atomic.h

Owen Anderson resistor at mac.com
Wed May 20 02:34:25 PDT 2009


Author: resistor
Date: Wed May 20 04:34:13 2009
New Revision: 72167

URL: http://llvm.org/viewvc/llvm-project?rev=72167&view=rev
Log:
Compile fix for MSVC.

Modified:
    llvm/trunk/include/llvm/System/Atomic.h

Modified: llvm/trunk/include/llvm/System/Atomic.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/System/Atomic.h?rev=72167&r1=72166&r2=72167&view=diff

==============================================================================
--- llvm/trunk/include/llvm/System/Atomic.h (original)
+++ llvm/trunk/include/llvm/System/Atomic.h Wed May 20 04:34:13 2009
@@ -17,6 +17,7 @@
 #include "llvm/Config/config.h"
 
 #if defined(_MSC_VER)
+#define NOMINMAX
 #include <windows.h>
 #endif
 





More information about the llvm-commits mailing list