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 77f3f54bd881..8f606a0fd177 100644 --- a/llvm/lib/Support/Unix/Path.inc +++ b/llvm/lib/Support/Unix/Path.inc @@ -39,6 +39,11 @@ #include #include #include + +#ifndef COPYFILE_CLONE +#define COPYFILE_CLONE (1<<24) +#endif + #elif defined(__FreeBSD__) #include #if __FreeBSD_version >= 1300057 -- 2.21.1 (Apple Git-122.3)