diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc index cf05db546e0214..f36cc37ffb2afd 100644 --- a/llvm/lib/Support/Unix/Path.inc +++ b/llvm/lib/Support/Unix/Path.inc @@ -1491,7 +1491,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 && __has_builtin(__builtin_available) if (__builtin_available(macos 10.12, *)) { // Optimistically try to use clonefile() and handle errors, rather than // calling stat() to see if it'll work.