git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20d279f
)
nsswitch: Fix checking for config.h #define in nsstest.h
author
Andreas Schneider
<asn@samba.org>
Thu, 13 Dec 2018 17:49:32 +0000
(18:49 +0100)
committer
Gary Lockyer
<gary@samba.org>
Sun, 16 Dec 2018 20:04:10 +0000
(21:04 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
nsswitch/nsstest.h
patch
|
blob
|
history
diff --git
a/nsswitch/nsstest.h
b/nsswitch/nsstest.h
index 53adce55005b07aace2a19bf1a2f5a648da1a61c..8112b57f8aab8a2ba2ef94a08745b7d1ed210450 100644
(file)
--- 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