aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/System/Win32/Win32.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/System/Win32/Win32.h b/lib/System/Win32/Win32.h
index 55ab3e7b2b..d054812c76 100644
--- a/lib/System/Win32/Win32.h
+++ b/lib/System/Win32/Win32.h
@@ -18,6 +18,7 @@
// Require at least Windows 2000 API.
#define _WIN32_WINNT 0x0500
+#define WIN32_LEAN_AND_MEAN
#include "llvm/Config/config.h" // Get build system configuration settings
#include <Windows.h>