Only OpenPAM and Linux PAM use const qualifiers.
This commit is contained in:
@@ -531,11 +531,11 @@
|
|||||||
# define stat_sudoers lstat
|
# define stat_sudoers lstat
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Solaris doesn't use const qualifiers in PAM. */
|
/* Only OpenPAM and Linux PAM use const qualifiers. */
|
||||||
#ifdef sun
|
#if defined(_OPENPAM) || defined(__LIBPAM_VERSION)
|
||||||
# define PAM_CONST
|
|
||||||
#else
|
|
||||||
# define PAM_CONST const
|
# define PAM_CONST const
|
||||||
|
#else
|
||||||
|
# define PAM_CONST
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_EXECV
|
#ifdef USE_EXECV
|
||||||
|
@@ -2175,11 +2175,11 @@ AH_BOTTOM([/*
|
|||||||
# define stat_sudoers lstat
|
# define stat_sudoers lstat
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Solaris doesn't use const qualifiers in PAM. */
|
/* Only OpenPAM and Linux PAM use const qualifiers. */
|
||||||
#ifdef sun
|
#if defined(_OPENPAM) || defined(__LIBPAM_VERSION)
|
||||||
# define PAM_CONST
|
|
||||||
#else
|
|
||||||
# define PAM_CONST const
|
# define PAM_CONST const
|
||||||
|
#else
|
||||||
|
# define PAM_CONST
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_EXECV
|
#ifdef USE_EXECV
|
||||||
|
Reference in New Issue
Block a user