From b82b1a7cc7e9800e77f22e0bf7f8222793f84d7d Mon Sep 17 00:00:00 2001 From: klzgrad Date: Fri, 23 Jul 2021 21:50:26 +0800 Subject: [PATCH] allocator: Disable uffd support for Musl --- src/base/allocator/partition_allocator/partition_alloc_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/allocator/partition_allocator/partition_alloc_config.h b/src/base/allocator/partition_allocator/partition_alloc_config.h index 2f3662d3e5..35fe44a966 100644 --- a/src/base/allocator/partition_allocator/partition_alloc_config.h +++ b/src/base/allocator/partition_allocator/partition_alloc_config.h @@ -35,7 +35,7 @@ static_assert(sizeof(void*) != 8, ""); #endif #if defined(PA_HAS_64_BITS_POINTERS) && \ - (defined(OS_LINUX) || defined(OS_ANDROID)) + (defined(OS_LINUX) || defined(OS_ANDROID)) && !defined(__MUSL__) #include // TODO(bikineev): Enable for ChromeOS. #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0)