Index: runtime/vm/malloc_hooks_unsupported.cc |
diff --git a/runtime/vm/malloc_hooks_unsupported.cc b/runtime/vm/malloc_hooks_unsupported.cc |
index 2f84af464d1491e639f1de0e6170473564925647..e7f9efaa21b988ed25840f3aa4ab72a4451b2aef 100644 |
--- a/runtime/vm/malloc_hooks_unsupported.cc |
+++ b/runtime/vm/malloc_hooks_unsupported.cc |
@@ -4,8 +4,8 @@ |
#include "platform/globals.h" |
-#if !defined(DART_USE_TCMALLOC) || defined(PRODUCT) || \ |
- defined(TARGET_ARCH_DBC) || defined(HOST_OS_FUCHSIA) |
+#if (!defined(DART_USE_TCMALLOC) && !defined(DART_USE_JEMALLOC)) || \ |
+ defined(PRODUCT) || defined(TARGET_ARCH_DBC) |
#include "vm/malloc_hooks.h" |
@@ -67,5 +67,4 @@ intptr_t MallocHooks::heap_allocated_memory_in_bytes() { |
} // namespace dart |
-#endif // !defined(DART_USE_TCMALLOC) || defined(PRODUCT) || |
- // defined(TARGET_ARCH_DBC) || defined(HOST_OS_FUCHSIA) |
+#endif // !defined(DART_USE_TCMALLOC) && ... |