From 22a94ab53fbde0a2c161d3cd07e35b0eb78160b9 Mon Sep 17 00:00:00 2001 Date: Sun, 16 May 2021 12:27:31 -0700 Subject: [PATCH 09/24] lib/Support/Unix/Path.inc: define COPYFILE_CLONE if needed --- llvm/lib/Support/Unix/Path.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc index a18650aadb6e..3fefd4e7ae91 100644 --- a/llvm/lib/Support/Unix/Path.inc +++ b/llvm/lib/Support/Unix/Path.inc @@ -37,6 +37,9 @@ #ifdef __APPLE__ #include +#ifndef COPYFILE_CLONE +#define COPYFILE_CLONE (1<<24) +#endif #include #include #if __has_include()