File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -237,6 +237,7 @@ jobs:
237
237
- name : Check version
238
238
run : |
239
239
${VIM_BIN} --version
240
+ ${VIM_BIN} -u NONE -i NONE --not-a-term -esNX -V1 -c 'echo "\nprof_nsec:" .. has("prof_nsec") .. "\n"' -c quit
240
241
${VIM_BIN} -u NONE -i NONE --not-a-term -esNX -V1 -S ci/if_ver-1.vim -c quit
241
242
${VIM_BIN} -u NONE -i NONE --not-a-term -esNX -V1 -S ci/if_ver-2.vim -c quit
242
243
Original file line number Diff line number Diff line change @@ -264,6 +264,14 @@ typedef int clockid_t;
264
264
# define CLOCK_MONOTONIC 1
265
265
# endif
266
266
267
+ # if !defined(MAC_OS_X_VERSION_10_12 ) \
268
+ || (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_12 )
269
+ // This happens when building on a newer machine for a min deployment lower
270
+ // than 10.12. The build environment supports clock_gettime(), but the target
271
+ // runtime doesn't.
272
+ # undef HAVE_CLOCK_GETTIME
273
+ # endif
274
+
267
275
struct itimerspec
268
276
{
269
277
struct timespec it_interval ; // timer period
You can’t perform that action at this time.
0 commit comments