From f339f5eebfb09a2c8a4ca9b7bc1059977235cb86 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Mon, 6 Apr 2026 13:54:17 +0800 Subject: [PATCH] musl: Disable copy_file_range --- src/third_party/libc++/src/src/filesystem/operations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/third_party/libc++/src/src/filesystem/operations.cpp b/src/third_party/libc++/src/src/filesystem/operations.cpp index 745db87ce3..65383c8992 100644 --- a/src/third_party/libc++/src/src/filesystem/operations.cpp +++ b/src/third_party/libc++/src/src/filesystem/operations.cpp @@ -41,7 +41,7 @@ #include // 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