apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject svn commit: r546232 - /apr/apr-util/branches/0.9.x/include/apr_ldap.h.in
Date Mon, 11 Jun 2007 19:43:56 GMT
Author: bnicholes
Date: Mon Jun 11 12:43:55 2007
New Revision: 546232

URL: http://svn.apache.org/viewvc?view=rev&rev=546232
Log:
since apr-util is still using the deprecated ldap function, make sure that the prototypes
are included with openldap >= 2.3

Modified:
    apr/apr-util/branches/0.9.x/include/apr_ldap.h.in

Modified: apr/apr-util/branches/0.9.x/include/apr_ldap.h.in
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/0.9.x/include/apr_ldap.h.in?view=diff&rev=546232&r1=546231&r2=546232
==============================================================================
--- apr/apr-util/branches/0.9.x/include/apr_ldap.h.in (original)
+++ apr/apr-util/branches/0.9.x/include/apr_ldap.h.in Mon Jun 11 12:43:55 2007
@@ -123,6 +123,12 @@
 #endif
 
 #if APR_HAS_OPENLDAP_LDAPSDK
+#if !defined(LDAP_DEPRECATED) 
+/* Ensure that the "deprecated" interfaces are still exposed
+ * with OpenLDAP >= 2.3; these were exposed by default in earlier
+ * releases. */
+#define LDAP_DEPRECATED 1
+#endif
 @lber_h@
 @ldap_h@
 #endif



Mime
View raw message