We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc51bc6 commit bcce8faCopy full SHA for bcce8fa
llvm/lib/Support/Unix/Path.inc
@@ -1483,7 +1483,7 @@ namespace fs {
1483
std::error_code copy_file(const Twine &From, const Twine &To) {
1484
std::string FromS = From.str();
1485
std::string ToS = To.str();
1486
-#if __has_builtin(__builtin_available)
+#if 0 && __has_builtin(__builtin_available)
1487
if (__builtin_available(macos 10.12, *)) {
1488
// Optimistically try to use clonefile() and handle errors, rather than
1489
// calling stat() to see if it'll work.
0 commit comments