summaryrefslogtreecommitdiff
path: root/rsync.h
diff options
context:
space:
mode:
authorWayne Davison <wayne@opencoder.net>2022-03-03 17:00:57 -0800
committerWayne Davison <wayne@opencoder.net>2022-03-03 17:00:57 -0800
commitb81a5095563776397a4239132d2b737a1083e02f (patch)
tree01eea79f2735ae82e5252b81d7f3b0b6416dd76e /rsync.h
parent26f4dbe12c63d77ce8dcb7623b53bcf76be5c277 (diff)
downloadrsync-b81a5095563776397a4239132d2b737a1083e02f.tar.gz
Make asm use more selectable
- Make the SIMD ASM code off by default. Use configure --enable-simd-asm to enable. - Allow MD5 ASM code to be requested even when OpenSSL is handling MD4 checksums. Use configure --enable-md5-asm to enable.
Diffstat (limited to 'rsync.h')
-rw-r--r--rsync.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/rsync.h b/rsync.h
index 41a014c3..4b30570b 100644
--- a/rsync.h
+++ b/rsync.h
@@ -18,11 +18,6 @@
* with this program; if not, visit the http://fsf.org website.
*/
-/* a non-zero CHAR_OFFSET makes the rolling sum stronger, but is
- incompatible with older versions :-( */
-#define CHAR_OFFSET 0
-
-#ifndef AVX2_ASM /* do not include the rest of file for assembly */
#define False 0
#define True 1
#define Unset (-1) /* Our BOOL values are always an int. */
@@ -43,6 +38,9 @@
#define BACKUP_SUFFIX "~"
+/* a non-zero CHAR_OFFSET makes the rolling sum stronger, but is
+ incompatible with older versions :-( */
+#define CHAR_OFFSET 0
/* These flags are only used during the flist transfer. */
@@ -1477,7 +1475,6 @@ const char *get_panic_action(void);
fprintf(stderr, "%s in %s at line %d\n", msg, __FILE__, __LINE__); \
exit_cleanup(RERR_UNSUPPORTED); \
} while (0)
-#endif /* AVX2_ASM */
#ifdef HAVE_MALLINFO2
#define MEM_ALLOC_INFO mallinfo2