nsswitch: Fix checking for config.h #define in nsstest.h
[vlendec/samba-autobuild/.git] / nsswitch / nsstest.h
index 53adce55005b07aace2a19bf1a2f5a648da1a61c..8112b57f8aab8a2ba2ef94a08745b7d1ed210450 100644 (file)
@@ -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