You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bn...@apache.org on 2007/06/11 21:43:56 UTC

svn commit: r546232 - /apr/apr-util/branches/0.9.x/include/apr_ldap.h.in

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