projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ac8b32
)
Compile fix for MSVC.
author
Owen Anderson
<resistor@mac.com>
Wed, 20 May 2009 09:34:13 +0000
(09:34 +0000)
committer
Owen Anderson
<resistor@mac.com>
Wed, 20 May 2009 09:34:13 +0000
(09:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72167
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/System/Atomic.h
patch
|
blob
|
history
diff --git
a/include/llvm/System/Atomic.h
b/include/llvm/System/Atomic.h
index 946ae740e77a3659385252cbdbe09766bac0bfde..fafd69797bf426a0abbe23cdac8d31dd48e2cdd4 100644
(file)
--- 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