stats: define WIN32_LEAN_AND_MEAN when including windows.h
authorSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 30 Aug 2016 20:15:46 +0000 (20:15 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 30 Aug 2016 20:15:46 +0000 (20:15 +0000)
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

index fa4b2d9..5caf097 100644 (file)
@@ -16,6 +16,7 @@
 //===----------------------------------------------------------------------===//
 
 #ifdef _WIN32
+#define WIN32_LEAN_AND_MEAN
 #include <windows.h>
 #else
 #include <dlfcn.h>