Mercurial > vim
comparison src/os_unix.c @ 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 | b66386af68f8 |
children | 87ad2de4fe41 |
comparison
equal
deleted
inserted
replaced
29091:06449e021d24 | 29092:e921ecb232f9 |
---|---|
8245 } | 8245 } |
8246 } | 8246 } |
8247 #endif // USE_XSMP | 8247 #endif // USE_XSMP |
8248 | 8248 |
8249 #if defined(FEAT_RELTIME) || defined(PROTO) | 8249 #if defined(FEAT_RELTIME) || defined(PROTO) |
8250 # if defined(HAVE_TIMER_CREATE) || defined(MACOS_X) | 8250 # if defined(HAVE_TIMER_CREATE) |
8251 /* | 8251 /* |
8252 * Implement timeout with timer_create() and timer_settime(). | 8252 * Implement timeout with timer_create() and timer_settime(). |
8253 */ | 8253 */ |
8254 static int timeout_flag = FALSE; | 8254 static int timeout_flag = FALSE; |
8255 static timer_t timer_id; | 8255 static timer_t timer_id; |