followup to r1348036, MSSDK's WinLdap.h uses an enum for LDAP_* status codes, so the block is not included
Submitted by: covener
Reviewed by: covener, trawick, igalic
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1409773 13f79535-47bb-0310-9956-
ffa450edef68
-*- coding: utf-8 -*-
Changes with Apache 2.4.4
+
+ *) mod_ldap: Fix regression in handling "server unavailable" errors on
+ Windows. PR 54140. [Eric Covener]
*) syslog logging: Remove stray ", referer" at the end of some messages.
[Jeff Trawick]
/* 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