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 20f0bab commit b697b46Copy full SHA for b697b46
libcxx/src/filesystem/operations.cpp
@@ -41,8 +41,7 @@
41
// since Linux 4.5 and FreeBSD 13
42
#if defined(__linux__) || defined(__FreeBSD__)
43
# define _LIBCPP_FILESYSTEM_USE_COPY_FILE_RANGE
44
-#endif
45
-#if __has_include(<sys/sendfile.h>)
+#elif __has_include(<sys/sendfile.h>)
46
# include <sys/sendfile.h>
47
# define _LIBCPP_FILESYSTEM_USE_SENDFILE
48
#elif defined(__APPLE__) || __has_include(<copyfile.h>)
0 commit comments