projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e00cbf2
)
Define WIN32_LEAN_AND_MEAN before including windows.h.
author
Alex Rønne Petersen
<alexrp@xamarin.com>
Sat, 26 Oct 2013 19:34:42 +0000
(21:34 +0200)
committer
Alex Rønne Petersen
<alexrp@xamarin.com>
Sat, 26 Oct 2013 19:39:39 +0000
(21:39 +0200)
mono/utils/atomic.h
patch
|
blob
|
history
diff --git
a/mono/utils/atomic.h
b/mono/utils/atomic.h
index 36e161e1bc1cea7bba28757d219cde2534387605..79455ad9c435c889e9e2fb5289b365324b2ea29a 100755
(executable)
--- a/
mono/utils/atomic.h
+++ b/
mono/utils/atomic.h
@@
-21,6
+21,9
@@
/* On Windows, we always use the functions provided by the Windows API. */
#if defined(__WIN32__) || defined(_WIN32)
+#ifndef WIN32_LEAN_AND_MEAN
+#define WIN32_LEAN_AND_MEAN
+#endif
#include <windows.h>
#include <mono/utils/mono-membar.h>