diff options
| author | Alexander Barton <alex@barton.de> | 2010-10-26 15:13:24 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2010-10-26 15:13:24 +0200 |
| commit | 76f40bdb988440a73431eb14a27f30aeaa18ebe5 (patch) | |
| tree | 62582eb4ae04776414d208e4adcb80c4bfa9af85 /contrib | |
| parent | 3dd91923e442cef439744636f6abd80cde85792f (diff) | |
| download | ngircd-76f40bdb988440a73431eb14a27f30aeaa18ebe5.tar.gz ngircd-76f40bdb988440a73431eb14a27f30aeaa18ebe5.zip | |
Xcode builds ("make xcode"): disable pam_fail_delay()
disable pam_fail_delay() only is available starting with Mac OS X 10.6; but we use the 10.5 SDK for campatibility, so don't use this function at all when building using Xcode.
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/MacOSX/config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/MacOSX/config.h b/contrib/MacOSX/config.h index 0da178dd..ba5e7e6a 100644 --- a/contrib/MacOSX/config.h +++ b/contrib/MacOSX/config.h @@ -115,6 +115,8 @@ #define HAVE_PAM_AUTHENTICATE 1 /* Define to 1 if you have the <pam/pam_appl.h> header file. */ #define HAVE_PAM_PAM_APPL_H 1 +/* Mac OS X <10.6 doesn't have pam_fail_delay() */ +#define NO_PAM_FAIL_DELAY 1 #endif /* -eof- */ |