1
0
forked from aniani/vim

patch 9.0.1364: build error with older Mac OS

Problem:    Build error with older Mac OS.
Solution:   Adjust #ifdef. (Yee Cheng Chin, closes #12074)
This commit is contained in:
Yee Cheng Chin
2023-02-28 15:51:23 +00:00
committed by Bram Moolenaar
parent 3f45d67a15
commit da77693b17
2 changed files with 4 additions and 1 deletions

View File

@@ -272,7 +272,8 @@
# include <dispatch/dispatch.h>
# ifndef MAC_OS_X_VERSION_10_12
# if !defined(MAC_OS_X_VERSION_10_12) \
|| (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_12)
typedef int clockid_t;
# endif
# ifndef CLOCK_REALTIME

View File

@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1364,
/**/
1363,
/**/