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