<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">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 &lt;mach-o/dyld.h&gt;
 #include &lt;sys/attr.h&gt;
 #include &lt;copyfile.h&gt;
+
+#ifndef COPYFILE_CLONE
+#define COPYFILE_CLONE		(1&lt;&lt;24)
+#endif
+
 #elif defined(__FreeBSD__)
 #include &lt;osreldate.h&gt;
 #if __FreeBSD_version &gt;= 1300057
-- 
2.21.1 (Apple Git-122.3)

</pre></body></html>