]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
followup to r1348036, MSSDK's WinLdap.h uses an enum for LDAP_* status codes, so...
authorEric Covener <covener@apache.org>
Mon, 12 Nov 2012 18:54:43 +0000 (18:54 +0000)
committerEric Covener <covener@apache.org>
Mon, 12 Nov 2012 18:54:43 +0000 (18:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1408402 13f79535-47bb-0310-9956-ffa450edef68

include/util_ldap.h

index 3d44ba32bb7908f02a69b67160f5e6f7f333c284..c31539817e285f8d9c25bb477af34413c1e0cb33 100644 (file)
@@ -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