Attempt to fix LDAP build
Apparently, an older spelling of LDAP_OPT_DIAGNOSTIC_MESSAGE is LDAP_OPT_ERROR_STRING, so fall back to that one.
This commit is contained in:
parent
cf1238cd97
commit
7d1b8e7591
@ -141,6 +141,12 @@ ULONG (*__ldap_start_tls_sA) (
|
||||
#endif
|
||||
|
||||
static int CheckLDAPAuth(Port *port);
|
||||
|
||||
/* LDAP_OPT_DIAGNOSTIC_MESSAGE is the newer spelling */
|
||||
#ifndef LDAP_OPT_DIAGNOSTIC_MESSAGE
|
||||
#define LDAP_OPT_DIAGNOSTIC_MESSAGE LDAP_OPT_ERROR_STRING
|
||||
#endif
|
||||
|
||||
#endif /* USE_LDAP */
|
||||
|
||||
/*----------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user