Mercurial > vim
comparison src/errors.h @ 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 | f3987fde6dea |
children | 9b0c304500cc |
comparison
equal
deleted
inserted
replaced
32237:c9b337889ea8 | 32238:b2cce50602ca |
---|---|
3274 #ifdef FEAT_RELTIME | 3274 #ifdef FEAT_RELTIME |
3275 EXTERN char e_could_not_clear_timeout_str[] | 3275 EXTERN char e_could_not_clear_timeout_str[] |
3276 INIT(= N_("E1285: Could not clear timeout: %s")); | 3276 INIT(= N_("E1285: Could not clear timeout: %s")); |
3277 EXTERN char e_could_not_set_timeout_str[] | 3277 EXTERN char e_could_not_set_timeout_str[] |
3278 INIT(= N_("E1286: Could not set timeout: %s")); | 3278 INIT(= N_("E1286: Could not set timeout: %s")); |
3279 #ifndef HAVE_TIMER_CREATE | 3279 #ifndef PROF_NSEC |
3280 EXTERN char e_could_not_set_handler_for_timeout_str[] | 3280 EXTERN char e_could_not_set_handler_for_timeout_str[] |
3281 INIT(= N_("E1287: Could not set handler for timeout: %s")); | 3281 INIT(= N_("E1287: Could not set handler for timeout: %s")); |
3282 EXTERN char e_could_not_reset_handler_for_timeout_str[] | 3282 EXTERN char e_could_not_reset_handler_for_timeout_str[] |
3283 INIT(= N_("E1288: Could not reset handler for timeout: %s")); | 3283 INIT(= N_("E1288: Could not reset handler for timeout: %s")); |
3284 EXTERN char e_could_not_check_for_pending_sigalrm_str[] | 3284 EXTERN char e_could_not_check_for_pending_sigalrm_str[] |