subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1739681 - /subversion/trunk/subversion/libsvn_subr/wrapped_sasl.c
Date Mon, 18 Apr 2016 01:58:08 GMT
Author: brane
Date: Mon Apr 18 01:58:08 2016
New Revision: 1739681

URL: http://svn.apache.org/viewvc?rev=1739681&view=rev
Log:
Fix the build when SASL is not available.

* subversion/libsvn_subr/wrapped_sasl.c:
   Wrap the whole file contents in an #ifdef SVN_HAVE_SASL block.

Modified:
    subversion/trunk/subversion/libsvn_subr/wrapped_sasl.c

Modified: subversion/trunk/subversion/libsvn_subr/wrapped_sasl.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/wrapped_sasl.c?rev=1739681&r1=1739680&r2=1739681&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/wrapped_sasl.c (original)
+++ subversion/trunk/subversion/libsvn_subr/wrapped_sasl.c Mon Apr 18 01:58:08 2016
@@ -21,6 +21,9 @@
  * ====================================================================
  */
 
+#include "svn_private_config.h"
+#ifdef SVN_HAVE_SASL
+
 #include "private/svn_wrapped_sasl.h"
 
 /* See the comment at the top of svn_wrapped_sasl.h */
@@ -190,3 +193,5 @@ svn_sasl__decode(sasl_conn_t *conn,
 {
   return sasl_decode(conn, input, inputlen, output, outputlen);
 }
+
+#endif /* SVN_HAVE_SASL */



Mime
View raw message