aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/System/Atomic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/System/Atomic.h b/include/llvm/System/Atomic.h
index 946ae740e7..fafd69797b 100644
--- a/include/llvm/System/Atomic.h
+++ b/include/llvm/System/Atomic.h
@@ -17,6 +17,7 @@
#include "llvm/Config/config.h"
#if defined(_MSC_VER)
+#define NOMINMAX
#include <windows.h>
#endif