aboutsummaryrefslogtreecommitdiff
path: root/src/xz/process.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-02-13 17:30:30 +0200
committerLasse Collin <lasse.collin@tukaani.org>2009-02-13 17:30:30 +0200
commit1d924e584b146136989f48c13fff2632896efb3d (patch)
treec39356235dc95f05848496a1383e50feaaacee3e /src/xz/process.c
parentImprove support for DOS-like systems. (diff)
downloadxz-1d924e584b146136989f48c13fff2632896efb3d.tar.xz
Fix handling of integrity check type in the xz command line tool.
Diffstat (limited to '')
-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