We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbaa5fe commit 77205e5Copy full SHA for 77205e5
libcxx/src/filesystem/operations.cpp
@@ -40,7 +40,7 @@
40
#include <time.h>
41
42
// since Linux 4.5 and FreeBSD 13, but the Linux libc wrapper is only provided by glibc >= 2.27 and musl
43
-#if (defined(__linux__) && (_LIBCPP_GLIBC_PREREQ(2, 27) || _LIBCPP_HAS_MUSL_LIBC)) || defined(__FreeBSD__)
+#if (defined(__linux__) && ((defined(_LIBCPP_GLIBC_PREREQ) && _LIBCPP_GLIBC_PREREQ(2, 27)) || _LIBCPP_HAS_MUSL_LIBC)) || defined(__FreeBSD__)
44
# define _LIBCPP_FILESYSTEM_USE_COPY_FILE_RANGE
45
#endif
46
#if __has_include(<sys/sendfile.h>)
0 commit comments