mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-29 13:01:13 +03:00
Allow building benchmarks without SFTP
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
This commit is contained in:
@ -48,6 +48,7 @@ struct benchmark benchmarks[]= {
|
||||
.fct=benchmarks_scp_down,
|
||||
.enabled=0
|
||||
},
|
||||
#ifdef WITH_SFTP
|
||||
{
|
||||
.name="benchmark_sync_sftp_upload",
|
||||
.fct=benchmarks_sync_sftp_up,
|
||||
@ -63,6 +64,7 @@ struct benchmark benchmarks[]= {
|
||||
.fct=benchmarks_async_sftp_down,
|
||||
.enabled=0
|
||||
}
|
||||
#endif /* WITH_SFTP */
|
||||
};
|
||||
|
||||
#ifdef HAVE_ARGP_H
|
||||
|
Reference in New Issue
Block a user