aboutsummaryrefslogtreecommitdiff
path: root/src/xz/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xz/process.c')
-rw-r--r--src/xz/process.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xz/process.c b/src/xz/process.c
index 59c19cd2..9b966546 100644
--- a/src/xz/process.c
+++ b/src/xz/process.c
@@ -51,7 +51,11 @@ static bool preset_default = true;
static bool preset_extreme = false;
/// Integrity check type
+#ifdef HAVE_CHECK_CRC64
static lzma_check check = LZMA_CHECK_CRC64;
+#else
+static lzma_check check = LZMA_CHECK_CRC32;
+#endif
extern void