comparison src/os_vms_conf.h @ 29079:9781c150eddd v8.2.5061

patch 8.2.5061: C89 requires signal handlers to return void Commit: https://github.com/vim/vim/commit/99c48fe9974b8d70ca33674658a3da722b0d6466 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 5 22:05:19 2022 +0100 patch 8.2.5061: C89 requires signal handlers to return void Problem: C89 requires signal handlers to return void. Solution: Drop RETSIGTYPE and hard-code a void return value.
author Bram Moolenaar <Bram@vim.org>
date Sun, 05 Jun 2022 23:15:02 +0200
parents c0403cd5ca06
children 029c59bf78f1
comparison
equal deleted inserted replaced
29078:c4071444366f 29079:9781c150eddd
63 // #undef ino_t 63 // #undef ino_t
64 64
65 // Define if you have the nanosleep() function. 65 // Define if you have the nanosleep() function.
66 // #undef HAVE_NANOSLEEP 66 // #undef HAVE_NANOSLEEP
67 67
68 // Define if you can safely include both <sys/time.h> and <time.h>.
69 #define TIME_WITH_SYS_TIME
70
71 // Define if you can safely include both <sys/time.h> and <sys/select.h>. 68 // Define if you can safely include both <sys/time.h> and <sys/select.h>.
72 // #undef SYS_SELECT_WITH_SYS_TIME 69 // #undef SYS_SELECT_WITH_SYS_TIME
73
74 // Define as the return type of signal handlers (int or void).
75 #define RETSIGTYPE void
76
77 // Define as the command at the end of signal handlers ("" or "return 0;").
78 #define SIGRETURN return
79 70
80 // Define if struct sigcontext is present 71 // Define if struct sigcontext is present
81 #define HAVE_SIGCONTEXT 72 #define HAVE_SIGCONTEXT
82 73
83 // Define if toupper/tolower only work on lower/uppercase characters 74 // Define if toupper/tolower only work on lower/uppercase characters