diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-08-30 20:15:46 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-08-30 20:15:46 +0000 |
commit | 000b071b07477275c8a1bb36116d8d82f239fd20 (patch) | |
tree | 37bad34916ded3c1449dc571c5c6dd500fb6923b /compiler-rt/lib/stats | |
parent | 6ca511439dc76342cb7c7bce6f9c151ad8e75fa7 (diff) | |
download | bcm5719-llvm-000b071b07477275c8a1bb36116d8d82f239fd20.tar.gz bcm5719-llvm-000b071b07477275c8a1bb36116d8d82f239fd20.zip |
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
Diffstat (limited to 'compiler-rt/lib/stats')
-rw-r--r-- | compiler-rt/lib/stats/stats_client.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/stats/stats_client.cc b/compiler-rt/lib/stats/stats_client.cc index fa4b2d909f5..5caf09728f7 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 <windows.h> #else #include <dlfcn.h> |