mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Correct cyrus-sasl version verison check
This commit is contained in:
parent
140b676bc1
commit
a2a859fd0b
@ -46,7 +46,7 @@
|
|||||||
#define SASL_VERSION_FULL ((SASL_VERSION_MAJOR << 16) |\
|
#define SASL_VERSION_FULL ((SASL_VERSION_MAJOR << 16) |\
|
||||||
(SASL_VERSION_MINOR << 8) | SASL_VERSION_STEP)
|
(SASL_VERSION_MINOR << 8) | SASL_VERSION_STEP)
|
||||||
|
|
||||||
#if SASL_VERSION_MINOR >= 0x020119 /* 2.1.25 */
|
#if SASL_VERSION_FULL >= 0x020119 /* 2.1.25 */
|
||||||
typedef sasl_callback_ft slap_sasl_cb_ft;
|
typedef sasl_callback_ft slap_sasl_cb_ft;
|
||||||
#else
|
#else
|
||||||
typedef int (*slap_sasl_cb_ft)();
|
typedef int (*slap_sasl_cb_ft)();
|
||||||
|
Loading…
Reference in New Issue
Block a user