summaryrefslogtreecommitdiff
path: root/xdelta3/xdelta3.h
diff options
context:
space:
mode:
authorjosh.macdonald <jmacd@users.noreply.github.com>2007-11-26 12:15:18 +0000
committerjosh.macdonald <jmacd@users.noreply.github.com>2007-11-26 12:15:18 +0000
commitce6a092d2ac6723acd4de0b89a7832a027722027 (patch)
tree1b2dda028daf9a690a6ba971cd936aa0a985c9f5 /xdelta3/xdelta3.h
parentd8d2ab4c809485480727ee7a943163f272d22b11 (diff)
The rabin-karp checksum looks better in testing but doesn't really
seem to improve things in practice. Removed HASH_PRIME.
Diffstat (limited to 'xdelta3/xdelta3.h')
-rw-r--r--xdelta3/xdelta3.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xdelta3/xdelta3.h b/xdelta3/xdelta3.h
index 1dda36e..48d766f 100644
--- a/xdelta3/xdelta3.h
+++ b/xdelta3/xdelta3.h
@@ -119,6 +119,9 @@ typedef ULONGLONG uint64_t;
119#define XD3_USE_LARGEFILE64 1 119#define XD3_USE_LARGEFILE64 1
120#endif 120#endif
121 121
122/* TODO: note that SIZEOF_USIZE_T is never set to 8, although it should be for
123 * a 64bit platform. OTOH, may be that using 32bits is appropriate even on a
124 * 64bit platform because we allocate large arrays of these values. */
122#if XD3_USE_LARGEFILE64 125#if XD3_USE_LARGEFILE64
123#define __USE_FILE_OFFSET64 1 /* GLIBC: for 64bit fileops, ... ? */ 126#define __USE_FILE_OFFSET64 1 /* GLIBC: for 64bit fileops, ... ? */
124typedef uint64_t xoff_t; 127typedef uint64_t xoff_t;