allocator: Disable uffd support for Musl

This commit is contained in:
klzgrad 2021-07-23 21:50:26 +08:00
parent d275a3f80b
commit b82b1a7cc7

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)