1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

liblzma: Fix build error if only RISC-V BCJ filter is enabled.

If any other BCJ filter was enabled for encoding or decoding, then this
was not a problem.
This commit is contained in:
Jia Tan 2024-02-13 22:37:07 +08:00
parent 2f15597d67
commit 45663443eb

View file

@ -250,7 +250,9 @@ static const char *parse_options(const char **const str, const char *str_end,
|| defined(HAVE_ENCODER_IA64) \ || defined(HAVE_ENCODER_IA64) \
|| defined(HAVE_DECODER_IA64) \ || defined(HAVE_DECODER_IA64) \
|| defined(HAVE_ENCODER_SPARC) \ || defined(HAVE_ENCODER_SPARC) \
|| defined(HAVE_DECODER_SPARC) || defined(HAVE_DECODER_SPARC) \
|| defined(HAVE_ENCODER_RISCV) \
|| defined(HAVE_DECODER_RISCV)
static const option_map bcj_optmap[] = { static const option_map bcj_optmap[] = {
{ {
.name = "start", .name = "start",