mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2026-05-28 18:06:32 +03:00
musl: Disable copy_file_range
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user