From 5111cf0995049adc482fdaa88614393af7cb65b5 Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Mon, 12 Nov 2012 18:54:43 +0000 Subject: [PATCH] followup to r1348036, MSSDK's WinLdap.h uses an enum for LDAP_* status codes, so the block is not included git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1408402 13f79535-47bb-0310-9956-ffa450edef68 --- include/util_ldap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/util_ldap.h b/include/util_ldap.h index 3d44ba32bb7..c31539817e2 100644 --- a/include/util_ldap.h +++ b/include/util_ldap.h @@ -45,7 +45,7 @@ /* this whole thing disappears if LDAP is not enabled */ #if APR_HAS_LDAP -#ifdef LDAP_UNAVAILABLE +#if defined(LDAP_UNAVAILABLE) || APR_HAS_MICROSOFT_LDAPSDK #define AP_LDAP_IS_SERVER_DOWN(s) ((s) == LDAP_SERVER_DOWN \ ||(s) == LDAP_UNAVAILABLE) #else -- 2.47.3