From 000b071b07477275c8a1bb36116d8d82f239fd20 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Tue, 30 Aug 2016 20:15:46 +0000 Subject: [PATCH] stats: define WIN32_LEAN_AND_MEAN when including windows.h Reduce the amount of the header that we end up including in the build. The additional definitions are not necessary. llvm-svn: 280146 --- compiler-rt/lib/stats/stats_client.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler-rt/lib/stats/stats_client.cc b/compiler-rt/lib/stats/stats_client.cc index fa4b2d9..5caf0972 100644 --- a/compiler-rt/lib/stats/stats_client.cc +++ b/compiler-rt/lib/stats/stats_client.cc @@ -16,6 +16,7 @@ //===----------------------------------------------------------------------===// #ifdef _WIN32 +#define WIN32_LEAN_AND_MEAN #include #else #include -- 2.7.4