From 0a8db75f72270a4d5964fd9ec082b618dd8d138d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martti=20Rannanj=C3=A4rvi?= Date: Tue, 24 Oct 2017 10:23:20 +0300 Subject: [PATCH] auth: Don't use undefined SASL_VERSION_MAJOR --- src/auth/db-ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth/db-ldap.c b/src/auth/db-ldap.c index 734fa81410..c0e57a1725 100644 --- a/src/auth/db-ldap.c +++ b/src/auth/db-ldap.c @@ -31,7 +31,7 @@ #ifdef LDAP_OPT_X_TLS # define OPENLDAP_TLS_OPTIONS #endif -#if SASL_VERSION_MAJOR < 2 +#if !defined(SASL_VERSION_MAJOR) || SASL_VERSION_MAJOR < 2 # undef HAVE_LDAP_SASL #endif -- 2.47.3