diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc index 788460d..c52dc72 100644 --- a/llvm/lib/Support/Unix/Path.inc +++ b/llvm/lib/Support/Unix/Path.inc @@ -1462,7 +1462,7 @@ namespace fs { std::error_code copy_file(const Twine &From, const Twine &To) { std::string FromS = From.str(); std::string ToS = To.str(); -#if __has_builtin(__builtin_available) +#if 0 if (__builtin_available(macos 10.12, *)) { // Optimistically try to use clonefile() and handle errors, rather than // calling stat() to see if it'll work.