Revert "xz: cleanup CRC32 edits from 2018"
This reverts commit f51cdb56a4
.
This commit is contained in:
parent
9629f5d149
commit
94c89017e5
2 changed files with 5 additions and 1 deletions
|
@ -29,7 +29,7 @@ STATIC_RW_DATA uint32_t xz_crc32_table[256];
|
|||
|
||||
XZ_EXTERN void xz_crc32_init(void)
|
||||
{
|
||||
const uint32_t poly = 0xEDB88320;
|
||||
const uint32_t poly = CRC32_POLY_LE;
|
||||
|
||||
uint32_t i;
|
||||
uint32_t j;
|
||||
|
|
|
@ -102,6 +102,10 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef CRC32_POLY_LE
|
||||
#define CRC32_POLY_LE 0xedb88320
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Allocate memory for LZMA2 decoder. xz_dec_lzma2_reset() must be used
|
||||
* before calling xz_dec_lzma2_run().
|
||||
|
|
Loading…
Reference in a new issue