mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-30 05:48:18 +00:00
Fix OpenPAM detection for newer versions.
This commit is contained in:
parent
78e7c649f0
commit
41436a7869
@ -66,7 +66,8 @@
|
||||
#include "sudo_auth.h"
|
||||
|
||||
/* Only OpenPAM and Linux PAM use const qualifiers. */
|
||||
#if defined(_OPENPAM) || defined(__LIBPAM_VERSION) || defined(__LINUX_PAM__)
|
||||
#if defined(_OPENPAM) || defined(OPENPAM_VERSION) || \
|
||||
defined(__LIBPAM_VERSION) || defined(__LINUX_PAM__)
|
||||
# define PAM_CONST const
|
||||
#else
|
||||
# define PAM_CONST
|
||||
|
Loading…
x
Reference in New Issue
Block a user