From ff1fdc97b3ed99b5a0529d4234f7f3a4ca8d2ccd Mon Sep 17 00:00:00 2001 From: klzgrad Date: Sat, 30 Nov 2019 22:36:22 +0800 Subject: [PATCH] base: Remove use of mallinfo under Musl --- src/base/trace_event/malloc_dump_provider.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/base/trace_event/malloc_dump_provider.cc b/src/base/trace_event/malloc_dump_provider.cc index 7c337848e4..b18f9983df 100644 --- a/src/base/trace_event/malloc_dump_provider.cc +++ b/src/base/trace_event/malloc_dump_provider.cc @@ -185,6 +185,7 @@ bool MallocDumpProvider::OnMemoryDump(const MemoryDumpArgs& args, } #elif defined(OS_FUCHSIA) // TODO(fuchsia): Port, see https://crbug.com/706592. +#elif defined(__UCLIBC__) #else struct mallinfo info = mallinfo(); // In case of Android's jemalloc |arena| is 0 and the outer pages size is