2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 01:49:11 +00:00

Make the check for HAVE_DECL_NSIG consistent with other decl checks.

This commit is contained in:
Todd C. Miller 2023-02-27 18:44:54 -07:00
parent a4f31cff2b
commit 6c97b84c0c

View File

@ -213,7 +213,7 @@ extern int errno;
#endif /* !HAVE_DECL_ERRNO */
/* 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
# define NSIG _NSIG
# elif defined(HAVE_DECL___NSIG) && HAVE_DECL___NSIG