mirror of
https://github.com/samba-team/samba.git
synced 2025-01-18 06:04:06 +03:00
nsswitch: Fix checking for config.h #define in nsstest.h
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
parent
20d279fc16
commit
648e70ba7b
@ -44,7 +44,7 @@ typedef nss_status_t NSS_STATUS;
|
||||
#define NSS_STATUS_UNAVAIL NSS_UNAVAIL
|
||||
#define NSS_STATUS_TRYAGAIN NSS_TRYAGAIN
|
||||
|
||||
#elif HAVE_NSS_H
|
||||
#elif defined(HAVE_NSS_H)
|
||||
|
||||
/*
|
||||
* Linux (glibc)
|
||||
@ -53,7 +53,7 @@ typedef nss_status_t NSS_STATUS;
|
||||
#include <nss.h>
|
||||
typedef enum nss_status NSS_STATUS;
|
||||
|
||||
#elif HAVE_NS_API_H
|
||||
#elif defined(HAVE_NS_API_H)
|
||||
|
||||
/*
|
||||
* SGI IRIX
|
||||
|
Loading…
x
Reference in New Issue
Block a user