allocator: Disable uffd support for Musl

This commit is contained in:
klzgrad 2021-07-23 21:50:26 +08:00
parent 8fbde3c004
commit 2906bb0b78

View File

@ -35,7 +35,7 @@ static_assert(sizeof(void*) != 8, "");
#endif #endif
#if defined(PA_HAS_64_BITS_POINTERS) && \ #if defined(PA_HAS_64_BITS_POINTERS) && \
(defined(OS_LINUX) || defined(OS_ANDROID)) (defined(OS_LINUX) || defined(OS_ANDROID)) && !defined(__MUSL__)
#include <linux/version.h> #include <linux/version.h>
// TODO(bikineev): Enable for ChromeOS. // TODO(bikineev): Enable for ChromeOS.
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0) #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0)