From 303476e0e2e2a00570116e3f4ed3f5d070b160fd 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 8f3f7867ae..e5a4aaaff5 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(__UCLIBC__) #include // TODO(bikineev): Enable for ChromeOS. #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0)