[PATCH] D51914: [ASan] [Windows] Avoid including windows.h in asan_malloc_win.cc

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 11 13:22:21 PDT 2018


mstorsjo added inline comments.


================
Comment at: lib/asan/asan_malloc_win.cc:17
 #if SANITIZER_WINDOWS
 #define WIN32_LEAN_AND_MEAN
+
----------------
rnk wrote:
> We can drop this define, it's just intended to reduce windows.h transitive includes.
Doh, yes, will do.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D51914





More information about the llvm-commits mailing list