1 This patch adds the current XXH3 checksum algorithms to rsync. They
2 are not yet finalized, so do NOT use this in a distributed rsync yet!
4 To use this patch, run these commands for a successful build:
6 patch -p1 <patches/xxh3.diff
7 ./configure (optional if already run)
10 based-on: 194cee671d5e178f20c4494f41911fa8db942935
11 diff --git a/checksum.c b/checksum.c
15 * with this program; if not, visit the http://fsf.org website.
18 +#define XXH_INLINE_ALL /* define to test pre-release XXH3 & XXH128 -- CURRENTLY UNSTABLE */
24 -# if XXH_VERSION_NUMBER >= 800
25 +# if XXH_VERSION_NUMBER >= 800 || defined XXH_INLINE_ALL
26 # define SUPPORT_XXH3 1