freebsd-ports/security/pam_af/files/patch-common_pam_af.h
Stanislav Sedov 484f070a21 - OpenPAM seesm to defined _OPENPAM instead of OPENPAM in older
releases. Make autodetection work on both.
2008-08-03 08:06:15 +00:00

11 lines
353 B
C

--- common/pam_af.h.orig 2005-10-16 19:55:28.000000000 +0400
+++ common/pam_af.h 2008-08-03 12:00:10.000000000 +0400
@@ -37,7 +37,7 @@
#define CFGDB "/etc/pam_af.conf"
#define CFGDB_PERM (S_IRUSR | S_IWUSR)
-#ifdef _OPENPAM
+#if defined(OPENPAM) || defined(_OPENPAM)
# define PAM_AF_LOG(...) \
PAM_LOG(__VA_ARGS__)
# define PAM_AF_LOGERR(...) \