summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-05-20 09:34:13 +0000
committerOwen Anderson <resistor@mac.com>2009-05-20 09:34:13 +0000
commitc473c81202d5627e5dac9c705dcdceb6103eeb5b (patch)
tree5aae570f9135d481654c0d63ff62753bf4ddf3a7 /llvm
parent1075cc0b02502b0670ba2313c2a9543ea9e8987e (diff)
downloadbcm5719-llvm-c473c81202d5627e5dac9c705dcdceb6103eeb5b.tar.gz
bcm5719-llvm-c473c81202d5627e5dac9c705dcdceb6103eeb5b.zip
Compile fix for MSVC.
llvm-svn: 72167
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/System/Atomic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/System/Atomic.h b/llvm/include/llvm/System/Atomic.h
index 946ae740e77..fafd69797bf 100644
--- a/llvm/include/llvm/System/Atomic.h
+++ b/llvm/include/llvm/System/Atomic.h
@@ -17,6 +17,7 @@
#include "llvm/Config/config.h"
#if defined(_MSC_VER)
+#define NOMINMAX
#include <windows.h>
#endif
OpenPOWER on IntegriCloud