allocator: Disable uffd support for Musl

This commit is contained in:
klzgrad 2021-07-23 21:50:26 +08:00
parent 9f9614b377
commit 303476e0e2

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)