diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc index 3efcad4f2bed44..ed029ebcc64775 100644 --- a/llvm/lib/Support/Unix/Path.inc +++ b/llvm/lib/Support/Unix/Path.inc @@ -1478,7 +1478,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.