forked from aniani/vim
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.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user