]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.5067: timer_create is not available on every Mac system v8.2.5067
authorBram Moolenaar <Bram@vim.org>
Wed, 8 Jun 2022 09:48:18 +0000 (10:48 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 8 Jun 2022 09:48:18 +0000 (10:48 +0100)
Problem:    Timer_create is not available on every Mac system. (Hisashi T
            Fujinaka)
Solution:   Adjust #ifdef.

src/os_unix.c
src/version.c

index 72f80c95dc0937fb8ec3944d9c290d9ee231f850..766deac9a8ec8aa388234bf3a6d459781288666b 100644 (file)
@@ -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().
  */
index 34266c1a21805ed42e34e45c0bd9633c1347e2f8..aa916b948525308c0eeb8abd4c247b70198b7ae7 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    5067,
 /**/
     5066,
 /**/