0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

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)
This commit is contained in:
Bram Moolenaar
2023-04-13 19:15:54 +01:00
parent ff6c230051
commit 08210f8def
9 changed files with 15 additions and 9 deletions

View File

@@ -230,7 +230,7 @@ gui_do_fork(void)
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