mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
os/os_defs.h cleanup: SIGHAS3ARGS
SIGHAS3ARGS appears in Vim's source code like this: /* List 3 arg systems here. I guess __sgi, please test and correct me. jw. */ if defined(__sgi) && defined(HAVE_SIGCONTEXT) define SIGHAS3ARGS endif Given we don't support SGI, remove it.
This commit is contained in:
@@ -18,16 +18,9 @@
|
||||
* have an argument??? */
|
||||
#define SIGHASARG
|
||||
|
||||
/* List 3 arg systems here. I guess __sgi, please test and correct me. jw. */
|
||||
|
||||
#ifdef SIGHASARG
|
||||
# ifdef SIGHAS3ARGS
|
||||
# define SIGDEFARG(s) (int s, int sig2, struct sigcontext *scont)
|
||||
# define SIGDUMMYARG 0, 0, (struct sigcontext *)0
|
||||
# else
|
||||
# define SIGDEFARG(s) (int s)
|
||||
# define SIGDUMMYARG 0
|
||||
# endif
|
||||
# define SIGDEFARG(s) (int s)
|
||||
# define SIGDUMMYARG 0
|
||||
#else
|
||||
# define SIGDEFARG(s) (void)
|
||||
# define SIGDUMMYARG
|
||||
|
Reference in New Issue
Block a user