From f78b52ba24d8d294869cd013dcc4cd5d4a65cea7 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 8 Jun 2022 10:48:18 +0100 Subject: [PATCH] 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. --- src/os_unix.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/os_unix.c b/src/os_unix.c index 72f80c95dc..766deac9a8 100644 --- 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(). */ diff --git a/src/version.c b/src/version.c index 34266c1a21..aa916b9485 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 5067, /**/ 5066, /**/