summaryrefslogtreecommitdiff
path: root/include/util_ldap.h
diff options
context:
space:
mode:
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 fd60ba9b..3d44ba32 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
-#if APR_HAS_MICROSOFT_LDAPSDK
+#ifdef LDAP_UNAVAILABLE
#define AP_LDAP_IS_SERVER_DOWN(s) ((s) == LDAP_SERVER_DOWN \
||(s) == LDAP_UNAVAILABLE)
#else