1
0
forked from aniani/vim

patch 9.0.0237: Mac: cannot build if dispatch.h is not available

Problem:    Mac: cannot build if dispatch.h is not available.
Solution:   Add #ifdef. (Evan Miller, closes #10954)
This commit is contained in:
Evan Miller
2022-08-21 17:24:00 +01:00
committed by Bram Moolenaar
parent b82a2ab8ad
commit e24a14118c
2 changed files with 4 additions and 0 deletions

View File

@@ -28,7 +28,9 @@
#include <sys/errno.h> #include <sys/errno.h>
#include <stdlib.h> #include <stdlib.h>
#ifdef FEAT_RELTIME
#include <dispatch/dispatch.h> #include <dispatch/dispatch.h>
#endif
#include "vim.h" #include "vim.h"
#import <AppKit/AppKit.h> #import <AppKit/AppKit.h>

View File

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