httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1408402 - /httpd/httpd/trunk/include/util_ldap.h
Date Mon, 12 Nov 2012 18:54:44 GMT
Author: covener
Date: Mon Nov 12 18:54:43 2012
New Revision: 1408402

URL: http://svn.apache.org/viewvc?rev=1408402&view=rev
Log:
followup to r1348036, MSSDK's WinLdap.h uses an enum for LDAP_* status codes, so the block
is not included

Modified:
    httpd/httpd/trunk/include/util_ldap.h

Modified: httpd/httpd/trunk/include/util_ldap.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/include/util_ldap.h?rev=1408402&r1=1408401&r2=1408402&view=diff
==============================================================================
--- httpd/httpd/trunk/include/util_ldap.h (original)
+++ httpd/httpd/trunk/include/util_ldap.h Mon Nov 12 18:54:43 2012
@@ -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



Mime
View raw message