]> granicus.if.org Git - apache/commitdiff
Revert r1143225:
authorStefan Fritsch <sf@apache.org>
Sat, 23 Jul 2011 17:04:57 +0000 (17:04 +0000)
committerStefan Fritsch <sf@apache.org>
Sat, 23 Jul 2011 17:04:57 +0000 (17:04 +0000)
    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

include/util_ldap.h

index 45f61d0ef0a933750da5a7df69cc87ce17b02bda..d5e5b3d1ccde7a5ce3ef1cefed3c546533fadeaf 100644 (file)
 #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"