mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
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:
@ -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 */
|
||||
|
||||
/*----------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user