[PATCH] wldap32: Fix compilation without LDAP installed.
Dmitry Timoshkov
dmitry at baikal.ru
Sun Mar 29 20:55:38 CDT 2020
From: harry+winehq at unheit.net
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48838
Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
---
dlls/wldap32/bind.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wldap32/bind.c b/dlls/wldap32/bind.c
index 63d4208eef..46b866fd31 100644
--- a/dlls/wldap32/bind.c
+++ b/dlls/wldap32/bind.c
@@ -179,7 +179,7 @@ exit:
return ret;
}
-#ifdef HAVE_LDAP_H
+#ifdef HAVE_LDAP
static int sasl_interact( LDAP *ld, unsigned flags, void *defaults, void *interact )
{
@@ -219,7 +219,7 @@ static int sasl_interact( LDAP *ld, unsigned flags, void *defaults, void *intera
#endif /* HAVE_SASL_SASL_H */
}
-#endif /* HAVE_LDAP_H */
+#endif /* HAVE_LDAP */
/***********************************************************************
* ldap_bind_sW (WLDAP32.@)
--
2.25.1
More information about the wine-devel
mailing list