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 b00c620 commit 19113a4Copy full SHA for 19113a4
libcxx/src/filesystem/operations.cpp
@@ -50,7 +50,10 @@
50
# define _LIBCPP_FILESYSTEM_USE_COPY_FILE_RANGE
51
# endif
52
#elif defined(__FreeBSD__)
53
-# define _LIBCPP_FILESYSTEM_USE_COPY_FILE_RANGE
+# include <sys/param.h>
54
+# if __FreeBSD_version >= 1300000
55
+# define _LIBCPP_FILESYSTEM_USE_COPY_FILE_RANGE
56
+# endif
57
#endif
58
#if __has_include(<sys/sendfile.h>)
59
# include <sys/sendfile.h>
0 commit comments