diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2022-10-08 21:28:15 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2022-11-09 14:28:41 +0200 |
commit | 3176f992c55b8d788c4633809aaf9447376a5a12 (patch) | |
tree | a08fb57cecafafb4d41bd1b2df3007d61aff513d /src/xz/coder.h | |
parent | liblzma: Add .lz support to lzma_auto_decoder(). (diff) | |
download | xz-3176f992c55b8d788c4633809aaf9447376a5a12.tar.xz |
xz: Add .lz (lzip) decompression support.
If configured with --disable-lzip-decoder then --long-help will
still list `lzip' in --format but I left it like that since
due to translations it would be messy to have two help strings.
Features are disabled only in special situations so wrong help
in such a situation shouldn't matter much.
Thanks to Michał Górny for the original patch.
Diffstat (limited to '')
-rw-r--r-- | src/xz/coder.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xz/coder.h b/src/xz/coder.h index 583da8f6..2930df9a 100644 --- a/src/xz/coder.h +++ b/src/xz/coder.h @@ -23,6 +23,9 @@ enum format_type { FORMAT_AUTO, FORMAT_XZ, FORMAT_LZMA, +#ifdef HAVE_LZIP_DECODER + FORMAT_LZIP, +#endif // HEADER_GZIP, FORMAT_RAW, }; |