diff options
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -340,6 +340,12 @@ struct winsize { | |||
340 | # define PAM_STRERROR(a,b) pam_strerror((a),(b)) | 340 | # define PAM_STRERROR(a,b) pam_strerror((a),(b)) |
341 | #endif | 341 | #endif |
342 | 342 | ||
343 | #ifdef PAM_SUN_CODEBASE | ||
344 | # define PAM_MSG_MEMBER(msg, n, member) ((*(msg))[(n)].member) | ||
345 | #else | ||
346 | # define PAM_MSG_MEMBER(msg, n, member) ((msg)[(n)]->member) | ||
347 | #endif | ||
348 | |||
343 | #if defined(BROKEN_GETADDRINFO) && defined(HAVE_GETADDRINFO) | 349 | #if defined(BROKEN_GETADDRINFO) && defined(HAVE_GETADDRINFO) |
344 | # undef HAVE_GETADDRINFO | 350 | # undef HAVE_GETADDRINFO |
345 | #endif /* defined(BROKEN_GETADDRINFO) && defined(HAVE_GETADDRINFO) */ | 351 | #endif /* defined(BROKEN_GETADDRINFO) && defined(HAVE_GETADDRINFO) */ |