diff options
author | Bram Moolenaar <Bram@vim.org> | 2023-04-13 19:15:54 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-04-13 19:15:54 +0100 |
commit | 08210f8def4886b0cd04dd4bbebed719f0512315 (patch) | |
tree | c04723d037a434c24ce1480a30f9ede304616f7a /src/evalfunc.c | |
parent | ff6c230051ed2a2dbbbd517f51fe00c8ea27961b (diff) |
patch 9.0.1450: MacOS: building fails if clock_gettime() is not availablev9.0.1450
Problem: MacOS: building fails if clock_gettime() is not available.
Solution: Add a configure check for clock_gettime(). (closes #12242)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index 29206b9a34..5c10f1ec9b 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -6146,7 +6146,7 @@ f_has(typval_T *argvars, typval_T *rettv) #endif }, {"prof_nsec", -#ifdef HAVE_TIMER_CREATE +#ifdef PROF_NSEC 1 #else 0 |