mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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:
parent
02740689a7
commit
43bc42d94e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user