diff options
| author | Alexander Barton <alex@barton.de> | 2011-08-07 14:41:11 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2011-08-07 14:41:11 +0200 |
| commit | 69f81a359a0a9b764200172c004e41fa357f3e75 (patch) | |
| tree | d1da2ab3076c2f5e49cf56754d866813e6e14fd7 /contrib/MacOSX | |
| parent | be03bc672cf37881afe31c466576595f2976f5e7 (diff) | |
| download | ngircd-69f81a359a0a9b764200172c004e41fa357f3e75.tar.gz ngircd-69f81a359a0a9b764200172c004e41fa357f3e75.zip | |
Xcode: Mac OS X config.h: support 10.5 as well as 10.6/10.7 SDK
Diffstat (limited to 'contrib/MacOSX')
| -rw-r--r-- | contrib/MacOSX/config.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/MacOSX/config.h b/contrib/MacOSX/config.h index af0a34c2..86b460b1 100644 --- a/contrib/MacOSX/config.h +++ b/contrib/MacOSX/config.h @@ -1,6 +1,6 @@ /* * ngIRCd -- The Next Generation IRC Daemon - * Copyright (c)2001-2010 Alexander Barton (alex@barton.de). + * Copyright (c)2001-2011 Alexander Barton (alex@barton.de) and Contributors. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -103,10 +103,15 @@ #ifdef PAM /* Define to 1 if you have the `pam_authenticate' function. */ #define HAVE_PAM_AUTHENTICATE 1 +#if (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1060) /* 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 +#else +/* Define to 1 if you have the <security/pam_appl.h> header file. */ +#define HAVE_SECURITY_PAM_APPL_H 1 +#endif #endif /* -eof- */ |