git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be04480
)
s3:ldap: Use #ifdef instead of #if for config.h definitions
author
Andreas Schneider
<asn@samba.org>
Tue, 20 Nov 2018 13:11:39 +0000
(14:11 +0100)
committer
Gary Lockyer
<gary@samba.org>
Wed, 28 Nov 2018 22:19:23 +0000
(23:19 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source3/include/smb_ldap.h
patch
|
blob
|
history
diff --git
a/source3/include/smb_ldap.h
b/source3/include/smb_ldap.h
index 19e4be5a3169118441ca9d1b23649c11102f3c22..57866382884a43963a36d6da4621442aeaddefd6 100644
(file)
--- a/
source3/include/smb_ldap.h
+++ b/
source3/include/smb_ldap.h
@@
-23,7
+23,7
@@
#ifndef _SMB_LDAP_H
#define _SMB_LDAP_H
-#if HAVE_LBER_H
+#if
def
HAVE_LBER_H
#include <lber.h>
#if defined(HPUX) && !defined(_LBER_TYPES_H)
/* Define ber_tag_t and ber_int_t for using
@@
-39,7
+39,7
@@
typedef int ber_int_t;
#endif
#endif /* HAVE_LBER_H */
-#if HAVE_LDAP_H
+#if
def
HAVE_LDAP_H
#include <ldap.h>
#ifndef LDAP_CONST
#define LDAP_CONST const