diff options
author | Michael Reed <m.reed@mykolab.com> | 2015-08-26 13:14:00 -0400 |
---|---|---|
committer | Michael Reed <m.reed@mykolab.com> | 2015-08-27 16:54:36 -0400 |
commit | 43bc42d94efcd99af6db436ef8cc9e247a7904a0 (patch) | |
tree | c036bb789c41260ef3070e3aa1698aa5c511b49b | |
parent | 02740689a714bad86c8cb57043873ae084c05d73 (diff) | |
download | rneovim-43bc42d94efcd99af6db436ef8cc9e247a7904a0.tar.gz rneovim-43bc42d94efcd99af6db436ef8cc9e247a7904a0.tar.bz2 rneovim-43bc42d94efcd99af6db436ef8cc9e247a7904a0.zip |
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.
-rw-r--r-- | src/nvim/os/os_defs.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/nvim/os/os_defs.h b/src/nvim/os/os_defs.h index 928d219679..2ee4ce4cfd 100644 --- a/src/nvim/os/os_defs.h +++ b/src/nvim/os/os_defs.h @@ -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 |