summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-07-23 17:04:57 +0000
committerStefan Fritsch <sf@apache.org>2011-07-23 17:04:57 +0000
commit47e13744e86d857ea189e020b8a3221c184883f8 (patch)
treed99c1ee43fbb884649e2b07c09b1ca4fbf14bb0d
parenta8d5b71631fb86c0b928b4f9baf8ee2763411700 (diff)
downloadhttpd-47e13744e86d857ea189e020b8a3221c184883f8.tar.gz
Revert r1143225:
Removed define which is now in ap_ldap.h. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/revert-ap-ldap@1150158 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--include/util_ldap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/util_ldap.h b/include/util_ldap.h
index 45f61d0ef0..d5e5b3d1cc 100644
--- a/include/util_ldap.h
+++ b/include/util_ldap.h
@@ -28,6 +28,12 @@
#include "apr_thread_rwlock.h"
#include "apr_tables.h"
#include "apr_time.h"
+#if AP_HAS_MICROSOFT_LDAPSDK
+#define AP_LDAP_IS_SERVER_DOWN(s) ((s) == LDAP_SERVER_DOWN \
+ ||(s) == LDAP_UNAVAILABLE)
+#else
+#define AP_LDAP_IS_SERVER_DOWN(s) ((s) == LDAP_SERVER_DOWN)
+#endif
#if APR_HAS_SHARED_MEMORY
#include "apr_rmm.h"