diff 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
line wrap: on
line diff
--- a/src/os_vms_conf.h
+++ b/src/os_vms_conf.h
@@ -65,18 +65,9 @@
 // Define if you have the nanosleep() function.
 // #undef HAVE_NANOSLEEP
 
-// Define if you can safely include both <sys/time.h> and <time.h>.
-#define TIME_WITH_SYS_TIME
-
 // Define if you can safely include both <sys/time.h> and <sys/select.h>.
 // #undef SYS_SELECT_WITH_SYS_TIME
 
-// Define as the return type of signal handlers (int or void).
-#define RETSIGTYPE void
-
-// Define as the command at the end of signal handlers ("" or "return 0;").
-#define SIGRETURN return
-
 // Define if struct sigcontext is present
 #define HAVE_SIGCONTEXT