Index: base/debug/leak_annotations.h |
diff --git a/base/debug/leak_annotations.h b/base/debug/leak_annotations.h |
index cb03320aebcc7bf97f365f4a6cbfd45c8b9445c1..1f8b28a2a68daeb50172422d108f1e8dab13f892 100644 |
--- a/base/debug/leak_annotations.h |
+++ b/base/debug/leak_annotations.h |
@@ -8,7 +8,7 @@ |
#include "build/build_config.h" |
-#if defined(OS_LINUX) && defined(USE_HEAPCHECKER) |
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && defined(USE_HEAPCHECKER) |
#include "third_party/tcmalloc/chromium/src/google/heap-checker.h" |