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