From 03d6e800044906170a91b043b9e43eae7b8651f0 Mon Sep 17 00:00:00 2001 From: Denis Corbin Date: Sat, 24 Aug 2024 12:43:25 +0200 Subject: [PATCH] allowing the compilation to succeed with --enable-examples when librsync is absent --- src/testing/test_rsync.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/testing/test_rsync.cpp b/src/testing/test_rsync.cpp index 8b553ec5..c0d3c059 100644 --- a/src/testing/test_rsync.cpp +++ b/src/testing/test_rsync.cpp @@ -32,6 +32,9 @@ extern "C" { } +#ifndef RS_DEFAULT_BLOCK_LEN +#define RS_DEFAULT_BLOCK_LEN 2048 +#endif using namespace std; using namespace libdar;