From 4ae1bdf9c34c8e387ec7fcea6e950bb3507611be Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 8 May 2015 17:31:31 -0600 Subject: [PATCH] HAVE_DECL_SIG2STR_MAX is always defined so use a !HAVE_DECL_SIG2STR_MAX check instead of #ifndef. --- include/sudo_compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sudo_compat.h b/include/sudo_compat.h index 636086b2a..89fcac5e1 100644 --- a/include/sudo_compat.h +++ b/include/sudo_compat.h @@ -312,7 +312,7 @@ extern int errno; #endif /* For sig2str() */ -#ifndef HAVE_DECL_SIG2STR_MAX +#if defined(HAVE_DECL_SIG2STR_MAX) && !HAVE_DECL_SIG2STR_MAX # define SIG2STR_MAX 32 #endif -- 2.40.0