Mercurial > vim
comparison src/gui.c @ 32238:b2cce50602ca v9.0.1450
patch 9.0.1450: MacOS: building fails if clock_gettime() is not available
Commit: https://github.com/vim/vim/commit/08210f8def4886b0cd04dd4bbebed719f0512315
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 13 19:15:54 2023 +0100
patch 9.0.1450: MacOS: building fails if clock_gettime() is not available
Problem: MacOS: building fails if clock_gettime() is not available.
Solution: Add a configure check for clock_gettime(). (closes https://github.com/vim/vim/issues/12242)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 13 Apr 2023 20:30:03 +0200 |
parents | a509eb37a813 |
children | d6055989fa27 |
comparison
equal
deleted
inserted
replaced
32237:c9b337889ea8 | 32238:b2cce50602ca |
---|---|
228 int pipe_error; | 228 int pipe_error; |
229 int status; | 229 int status; |
230 int exit_status; | 230 int exit_status; |
231 pid_t pid = -1; | 231 pid_t pid = -1; |
232 | 232 |
233 # if defined(FEAT_RELTIME) && defined(HAVE_TIMER_CREATE) | 233 # if defined(FEAT_RELTIME) && defined(PROF_NSEC) |
234 // a timer is not carried forward | 234 // a timer is not carried forward |
235 delete_timer(); | 235 delete_timer(); |
236 # endif | 236 # endif |
237 | 237 |
238 // Setup a pipe between the child and the parent, so that the parent | 238 // Setup a pipe between the child and the parent, so that the parent |