summaryrefslogtreecommitdiff
path: root/include/util_ldap.h
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2012-11-12 18:54:43 +0000
committerEric Covener <covener@apache.org>2012-11-12 18:54:43 +0000
commit0c13e0ffbef373d0c93982e550878d2f7e3816e4 (patch)
treed0cfce7e61332beb3f002472ea1c0ab920acd3b0 /include/util_ldap.h
parente2ab2c100443dae63ae1bec848994c9afa0cbc52 (diff)
downloadhttpd-0c13e0ffbef373d0c93982e550878d2f7e3816e4.tar.gz
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
Diffstat (limited to 'include/util_ldap.h')
-rw-r--r--include/util_ldap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/util_ldap.h b/include/util_ldap.h
index 3d44ba32bb..c31539817e 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