musl: Disable copy_file_range

pull/818/head
klzgrad 2026-04-06 13:54:17 +08:00
parent 6d115831bf
commit f51bcebc49
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@
#include <time.h>
// since Linux 4.5 and FreeBSD 13, but the Linux libc wrapper is only provided by glibc >= 2.27 and musl
#if _LIBCPP_GLIBC_PREREQ(2, 27) || _LIBCPP_HAS_MUSL_LIBC || defined(__FreeBSD__)
#if _LIBCPP_GLIBC_PREREQ(2, 27) || defined(__FreeBSD__)
# define _LIBCPP_FILESYSTEM_USE_COPY_FILE_RANGE
#endif