We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 343c8b1 commit 1c3ec03Copy full SHA for 1c3ec03
llvm/lib/Support/Unix/Path.inc
@@ -1222,7 +1222,7 @@ namespace fs {
1222
/// implementation.
1223
std::error_code copy_file(const Twine &From, const Twine &To) {
1224
uint32_t Flag = COPYFILE_DATA;
1225
-#if __has_builtin(__builtin_available) && defined(COPYFILE_CLONE)
+#if 0 && __has_builtin(__builtin_available) && defined(COPYFILE_CLONE)
1226
if (__builtin_available(macos 10.12, *)) {
1227
bool IsSymlink;
1228
if (std::error_code Error = is_symlink_file(From, IsSymlink))
0 commit comments