comparison src/os_mac.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 b90bca860b5a
children c09c7ea83047
comparison
equal deleted inserted replaced
29078:c4071444366f 29079:9781c150eddd
248 #ifndef SIGDUMMYARG 248 #ifndef SIGDUMMYARG
249 # define SIGDUMMYARG 0 249 # define SIGDUMMYARG 0
250 #endif 250 #endif
251 #undef HAVE_AVAIL_MEM 251 #undef HAVE_AVAIL_MEM
252 #ifndef HAVE_CONFIG_H 252 #ifndef HAVE_CONFIG_H
253 # define RETSIGTYPE void
254 # define SIGRETURN return
255 //# define USE_SYSTEM // Output ship do debugger :(, but not compile 253 //# define USE_SYSTEM // Output ship do debugger :(, but not compile
256 # define HAVE_SYS_WAIT_H 1 // Attempt 254 # define HAVE_SYS_WAIT_H 1 // Attempt
257 # define HAVE_TERMIOS_H 1 255 # define HAVE_TERMIOS_H 1
258 # define SYS_SELECT_WITH_SYS_TIME 1 256 # define SYS_SELECT_WITH_SYS_TIME 1
259 # define HAVE_SELECT 1 257 # define HAVE_SELECT 1