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

liblzma: Update string_conversion.c to support RISC-V Filter.

This commit is contained in:
Jia Tan 2024-01-22 23:33:39 +08:00
parent 34372a5adb
commit 2959dbc735

View file

@ -509,6 +509,11 @@ static const struct {
&parse_bcj, bcj_optmap, 1, 1, true }, &parse_bcj, bcj_optmap, 1, 1, true },
#endif #endif
#if defined(HAVE_ENCODER_RISCV) || defined(HAVE_DECODER_RISCV)
{ "riscv", sizeof(lzma_options_bcj), LZMA_FILTER_RISCV,
&parse_bcj, bcj_optmap, 1, 1, true },
#endif
#if defined(HAVE_ENCODER_POWERPC) || defined(HAVE_DECODER_POWERPC) #if defined(HAVE_ENCODER_POWERPC) || defined(HAVE_DECODER_POWERPC)
{ "powerpc", sizeof(lzma_options_bcj), LZMA_FILTER_POWERPC, { "powerpc", sizeof(lzma_options_bcj), LZMA_FILTER_POWERPC,
&parse_bcj, bcj_optmap, 1, 1, true }, &parse_bcj, bcj_optmap, 1, 1, true },