From: Yee Cheng Chin Date: Tue, 28 Feb 2023 15:51:23 +0000 (+0000) Subject: patch 9.0.1364: build error with older Mac OS X-Git-Tag: v9.0.1364 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da77693b17ff1f17f03ac78f0298294cf7d1087f;p=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) --- diff --git a/src/os_mac.h b/src/os_mac.h index a7b1dba06..2b5cbe457 100644 --- a/src/os_mac.h +++ b/src/os_mac.h @@ -272,7 +272,8 @@ # include -# 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 diff --git a/src/version.c b/src/version.c index aa9f88424..7ae6d8bca 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1364, /**/ 1363, /**/