We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccf4c38 commit 0d0b11aCopy full SHA for 0d0b11a
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 0 && __has_builtin(__builtin_available)
+#if __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