diff options
author | Yee Cheng Chin <ychin.git@gmail.com> | 2023-02-28 15:51:23 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-02-28 15:51:23 +0000 |
commit | da77693b17ff1f17f03ac78f0298294cf7d1087f (patch) | |
tree | 0c5cfd5a4f885a733e12ddc2120f37fb7181b1a1 | |
parent | 3f45d67a150f934ab819c3739cf189a0e2c9545c (diff) |
patch 9.0.1364: build error with older Mac OSv9.0.1364
Problem: Build error with older Mac OS.
Solution: Adjust #ifdef. (Yee Cheng Chin, closes #12074)
-rw-r--r-- | src/os_mac.h | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/os_mac.h b/src/os_mac.h index a7b1dba06a..2b5cbe4572 100644 --- a/src/os_mac.h +++ b/src/os_mac.h @@ -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 diff --git a/src/version.c b/src/version.c index aa9f88424b..7ae6d8bcaf 100644 --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1364, +/**/ 1363, /**/ 1362, |