summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-12-13 18:49:32 +0100
committerGary Lockyer <gary@samba.org>2018-12-16 21:04:10 +0100
commit648e70ba7bf891421299bb7e2b8a20f2e9769b97 (patch)
tree60b5448ab3125f845cef2669471a2faca2998ee3 /nsswitch
parent20d279fc161bd2e1a0bdaec613e139df9b6b6590 (diff)
downloadsamba-648e70ba7bf891421299bb7e2b8a20f2e9769b97.tar.gz
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>
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/nsstest.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nsswitch/nsstest.h b/nsswitch/nsstest.h
index 53adce55005..8112b57f8aa 100644
--- a/nsswitch/nsstest.h
+++ b/nsswitch/nsstest.h
@@ -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