We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 404746b commit 0be5954Copy full SHA for 0be5954
llvm/lib/Support/Unix/Path.inc
@@ -1491,7 +1491,7 @@ namespace fs {
1491
std::error_code copy_file(const Twine &From, const Twine &To) {
1492
std::string FromS = From.str();
1493
std::string ToS = To.str();
1494
-#if __has_builtin(__builtin_available)
+#if 0 && __has_builtin(__builtin_available)
1495
if (__builtin_available(macos 10.12, *)) {
1496
// Optimistically try to use clonefile() and handle errors, rather than
1497
// calling stat() to see if it'll work.
0 commit comments