You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by mi...@apache.org on 2007/12/07 14:10:20 UTC

svn commit: r602091 - /apr/apr-util/trunk/include/apr_ldap_rebind.h

Author: minfrin
Date: Fri Dec  7 05:10:20 2007
New Revision: 602091

URL: http://svn.apache.org/viewvc?rev=602091&view=rev
Log:
Make sure the rebind stuff only appears when LDAP is detected.

Modified:
    apr/apr-util/trunk/include/apr_ldap_rebind.h

Modified: apr/apr-util/trunk/include/apr_ldap_rebind.h
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/include/apr_ldap_rebind.h?rev=602091&r1=602090&r2=602091&view=diff
==============================================================================
--- apr/apr-util/trunk/include/apr_ldap_rebind.h (original)
+++ apr/apr-util/trunk/include/apr_ldap_rebind.h Fri Dec  7 05:10:20 2007
@@ -28,6 +28,11 @@
 #ifndef APU_LDAP_REBIND_H
 #define APU_LDAP_REBIND_H
 
+/*
+ * Handle the case when LDAP is enabled
+ */
+#if APR_HAS_LDAP
+
 /**
  * APR LDAP initialize rebind lock
  *
@@ -75,6 +80,8 @@
  * @param ld The LDAP connectionhandle
  */
 APU_DECLARE(apr_status_t) apr_ldap_rebind_remove(LDAP *ld);
+
+#endif /* APR_HAS_LDAP */
 
 #endif /* APU_LDAP_REBIND_H */