Index: base/leak_annotations.h |
=================================================================== |
--- base/leak_annotations.h (revision 39977) |
+++ base/leak_annotations.h (working copy) |
@@ -5,8 +5,10 @@ |
#ifndef BASE_LEAK_ANNOTATIONS_H_ |
#define BASE_LEAK_ANNOTATIONS_H_ |
-#if defined(LINUX_USE_TCMALLOC) |
+#include "build/build_config.h" |
+#if defined(OS_LINUX) && defined(USE_TCMALLOC) |
+ |
#include "third_party/tcmalloc/chromium/src/google/heap-checker.h" |
// Annotate a program scope as having memory leaks. Tcmalloc's heap leak |