allocator: Disable uffd support for Musl

This commit is contained in:
klzgrad 2021-07-23 21:50:26 +08:00
parent 5c9943be9c
commit 05c6ff4fb4

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(__UCLIBC__)
#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)