mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
os/os_defs.h cleanup: SIGHASARG
It's always defined, so the #else is redundant.
This commit is contained in:
parent
43bc42d94e
commit
3b99d8d0dd
@ -13,18 +13,8 @@
|
||||
# include "nvim/os/unix_defs.h"
|
||||
#endif
|
||||
|
||||
/* The number of arguments to a signal handler is configured here. */
|
||||
/* It used to be a long list of almost all systems. Any system that doesn't
|
||||
* have an argument??? */
|
||||
#define SIGHASARG
|
||||
|
||||
#ifdef SIGHASARG
|
||||
# define SIGDEFARG(s) (int s)
|
||||
# define SIGDUMMYARG 0
|
||||
#else
|
||||
# define SIGDEFARG(s) (void)
|
||||
# define SIGDUMMYARG
|
||||
#endif
|
||||
#define SIGDEFARG(s) (int s)
|
||||
#define SIGDUMMYARG 0
|
||||
|
||||
#if defined(DIRSIZ) && !defined(MAXNAMLEN)
|
||||
# define MAXNAMLEN DIRSIZ
|
||||
|
Loading…
Reference in New Issue
Block a user