changeset 29092:e921ecb232f9 v8.2.5067

patch 8.2.5067: timer_create is not available on every Mac system Commit: https://github.com/vim/vim/commit/f78b52ba24d8d294869cd013dcc4cd5d4a65cea7 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 8 10:48:18 2022 +0100 patch 8.2.5067: timer_create is not available on every Mac system Problem: Timer_create is not available on every Mac system. (Hisashi T Fujinaka) Solution: Adjust #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Wed, 08 Jun 2022 12:00:04 +0200
parents 06449e021d24
children ef9f05324fea
files src/os_unix.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -8247,7 +8247,7 @@ xsmp_close(void)
 #endif // USE_XSMP
 
 #if defined(FEAT_RELTIME) || defined(PROTO)
-# if defined(HAVE_TIMER_CREATE) || defined(MACOS_X)
+# if defined(HAVE_TIMER_CREATE)
 /*
  * Implement timeout with timer_create() and timer_settime().
  */
--- a/src/version.c
+++ b/src/version.c
@@ -735,6 +735,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    5067,
+/**/
     5066,
 /**/
     5065,