From: Todd C. Miller Date: Fri, 8 May 2015 23:31:31 +0000 (-0600) Subject: HAVE_DECL_SIG2STR_MAX is always defined so use a !HAVE_DECL_SIG2STR_MAX X-Git-Tag: SUDO_1_8_14^2~141 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ae1bdf9c34c8e387ec7fcea6e950bb3507611be;p=sudo HAVE_DECL_SIG2STR_MAX is always defined so use a !HAVE_DECL_SIG2STR_MAX check instead of #ifndef. --- 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