From 2906bb0b78d7684412eb9523807886f9bb8df182 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 0c2abf336e..bcb744c35b 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)