commit | e24a14118c29d910d3be59203332768b5fbd93e8 | [log] [tgz] |
---|---|---|
author | Evan Miller <emmiller@gmail.com> | Sun Aug 21 17:24:00 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Aug 21 17:24:00 2022 +0100 |
tree | e0dc90fd22c7a31ebaf8c21d159f6895f7db36d0 | |
parent | b82a2ab8ad7af52a327cdba013ec433f7caf550d [diff] [blame] |
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)
diff --git a/src/os_macosx.m b/src/os_macosx.m index acc5b07..f666b71 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>