mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 18:08:23 +00:00
Make the check for HAVE_DECL_NSIG consistent with other decl checks.
This commit is contained in:
parent
a4f31cff2b
commit
6c97b84c0c
@ -213,7 +213,7 @@ extern int errno;
|
|||||||
#endif /* !HAVE_DECL_ERRNO */
|
#endif /* !HAVE_DECL_ERRNO */
|
||||||
|
|
||||||
/* Not all systems define NSIG in signal.h */
|
/* Not all systems define NSIG in signal.h */
|
||||||
#if !defined(HAVE_DECL_NSIG) || !HAVE_DECL_NSIG
|
#if defined(HAVE_DECL_NSIG) && !HAVE_DECL_NSIG
|
||||||
# if defined(HAVE_DECL__NSIG) && HAVE_DECL__NSIG
|
# if defined(HAVE_DECL__NSIG) && HAVE_DECL__NSIG
|
||||||
# define NSIG _NSIG
|
# define NSIG _NSIG
|
||||||
# elif defined(HAVE_DECL___NSIG) && HAVE_DECL___NSIG
|
# elif defined(HAVE_DECL___NSIG) && HAVE_DECL___NSIG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user