<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">--- Source/kwsys/kwsysPlatformTestsCXX.cxx.orig
+++ Source/kwsys/kwsysPlatformTestsCXX.cxx
@@ -265,6 +265,12 @@
 #ifdef TEST_KWSYS_CXX_HAS_UTIMENSAT
 #include &lt;fcntl.h&gt;
 #include &lt;sys/stat.h&gt;
+#if defined(__APPLE__)
+#include &lt;AvailabilityMacros.h&gt;
+#if MAC_OS_X_VERSION_MIN_REQUIRED &lt; 101300
+#error "utimensat not available on macOS &lt; 10.13"
+#endif
+#endif
 int main()
 {
   struct timespec times[2] = { { 0, UTIME_OMIT }, { 0, UTIME_NOW } };
</pre></body></html>