From: Eric Covener Date: Mon, 12 Nov 2012 18:54:43 +0000 (+0000) Subject: followup to r1348036, MSSDK's WinLdap.h uses an enum for LDAP_* status codes, so... X-Git-Tag: 2.5.0-alpha~6125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c13e0ffbef373d0c93982e550878d2f7e3816e4;p=thirdparty%2Fapache%2Fhttpd.git 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 --- 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