[mono/mono] 4b6494f0: Define WIN32_LEAN_AND_MEAN before including windows.h.
| Newsgroups | gmane.comp.gnome.mono.patches |
|---|---|
| Message-ID | <00000141f648d21c-4b80547f-fc54-491f-9bb8-6e3f178bd00c-000000@email.amazonses.com> |
Branch: refs/heads/master
Home: https://github.com/mono/mono
Compare: https://github.com/mono/mono/compare/e00cbf2c426f...4b6494f0c640
Commit: 4b6494f0c64092cc067a9511217f01644973d4dc
Author: Alex Rønne Petersen <[email protected]>
Date: 2013-10-26 19:39:39 GMT
URL: https://github.com/mono/mono/commit/4b6494f0c64092cc067a9511217f01644973d4dc
Define WIN32_LEAN_AND_MEAN before including windows.h.
Changed paths:
M mono/utils/atomic.h
Modified: 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>
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches