patch 9.0.1450: MacOS: building fails if clock_gettime() is not available
Problem: MacOS: building fails if clock_gettime() is not available.
Solution: Add a configure check for clock_gettime(). (closes #12242)
diff --git a/src/gui.c b/src/gui.c
index 0e00547..e9f951d 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -230,7 +230,7 @@
int exit_status;
pid_t pid = -1;
-# if defined(FEAT_RELTIME) && defined(HAVE_TIMER_CREATE)
+# if defined(FEAT_RELTIME) && defined(PROF_NSEC)
// a timer is not carried forward
delete_timer();
# endif