diff options
author | Evan Miller <emmiller@gmail.com> | 2022-08-21 17:24:00 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-21 17:24:00 +0100 |
commit | e24a14118c29d910d3be59203332768b5fbd93e8 (patch) | |
tree | e0dc90fd22c7a31ebaf8c21d159f6895f7db36d0 | |
parent | b82a2ab8ad7af52a327cdba013ec433f7caf550d (diff) | |
download | vim-git-e24a14118c29d910d3be59203332768b5fbd93e8.tar.gz |
patch 9.0.0237: Mac: cannot build if dispatch.h is not availablev9.0.0237
Problem: Mac: cannot build if dispatch.h is not available.
Solution: Add #ifdef. (Evan Miller, closes #10954)
-rw-r--r-- | src/os_macosx.m | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/os_macosx.m b/src/os_macosx.m index acc5b0794..f666b7164 100644 --- a/src/os_macosx.m +++ b/src/os_macosx.m @@ -28,7 +28,9 @@ #include <sys/errno.h> #include <stdlib.h> +#ifdef FEAT_RELTIME #include <dispatch/dispatch.h> +#endif #include "vim.h" #import <AppKit/AppKit.h> diff --git a/src/version.c b/src/version.c index c12d3c906..378859644 100644 --- a/src/version.c +++ b/src/version.c @@ -732,6 +732,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 237, +/**/ 236, /**/ 235, |