From: Todd C. Miller Date: Fri, 20 Apr 2007 16:40:59 +0000 (+0000) Subject: Linux PAM now defines __LINUX_PAM__, not __LIBPAM_VERSION. X-Git-Tag: SUDO_1_7_0~577 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2433e0368c8f88a086c5b326ce15b81d1effea0;p=sudo Linux PAM now defines __LINUX_PAM__, not __LIBPAM_VERSION. From Dmitry V. Levin. --- diff --git a/auth/pam.c b/auth/pam.c index f97341af2..2ecf2f7a1 100644 --- a/auth/pam.c +++ b/auth/pam.c @@ -56,7 +56,7 @@ #include "sudo_auth.h" /* Only OpenPAM and Linux PAM use const qualifiers. */ -#if defined(_OPENPAM) || defined(__LIBPAM_VERSION) +#if defined(_OPENPAM) || defined(__LIBPAM_VERSION) || defined(__LINUX_PAM__) # define PAM_CONST const #else # define PAM_CONST