apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r602091 - /apr/apr-util/trunk/include/apr_ldap_rebind.h
Date Fri, 07 Dec 2007 13:10:20 GMT
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 */
 



Mime
View raw message