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:
237237 - name : Check version
238238 run : |
239239 ${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
240241 ${VIM_BIN} -u NONE -i NONE --not-a-term -esNX -V1 -S ci/if_ver-1.vim -c quit
241242 ${VIM_BIN} -u NONE -i NONE --not-a-term -esNX -V1 -S ci/if_ver-2.vim -c quit
242243
Original file line number Diff line number Diff line change @@ -264,6 +264,14 @@ typedef int clockid_t;
264264# define CLOCK_MONOTONIC 1
265265# endif
266266
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+
267275struct itimerspec
268276{
269277 struct timespec it_interval ; // timer period
You can’t perform that action at this time.
0 commit comments