diff options
-rw-r--r-- | modules/extra/ldap.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/extra/ldap.cpp b/modules/extra/ldap.cpp index 44ed9ed48..ecc48767a 100644 --- a/modules/extra/ldap.cpp +++ b/modules/extra/ldap.cpp @@ -26,6 +26,9 @@ # define LDAP_STR(X) const_cast<PSTR>((X).c_str()) # define LDAP_SASL_SIMPLE static_cast<PSTR>(0) # define LDAP_TIME(X) reinterpret_cast<PLDAP_TIMEVAL>(&(X)) +# define LDAP_VENDOR_VERSION_MAJOR (LDAP_VERSION / 100) +# define LDAP_VENDOR_VERSION_MINOR (LDAP_VERSION / 10 % 10) +# define LDAP_VENDOR_VERSION_PATCH (LDAP_VERSION / 10) # define ldap_first_message ldap_first_entry # define ldap_next_message ldap_next_entry # define ldap_unbind_ext(LDAP, UNUSED1, UNUSED2) ldap_unbind(LDAP) |