commit | 08210f8def4886b0cd04dd4bbebed719f0512315 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Apr 13 19:15:54 2023 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Apr 13 19:15:54 2023 +0100 |
tree | c04723d037a434c24ce1480a30f9ede304616f7a | |
parent | ff6c230051ed2a2dbbbd517f51fe00c8ea27961b [diff] [blame] |
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/evalfunc.c b/src/evalfunc.c index 29206b9a..5c10f1e 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c
@@ -6146,7 +6146,7 @@ #endif }, {"prof_nsec", -#ifdef HAVE_TIMER_CREATE +#ifdef PROF_NSEC 1 #else 0