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
1 changed files with 3 additions and 1 deletions

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",