mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
get_crc_table only with ZLIB_VERNUM >= 0x1270
This commit is contained in:
parent
8a0bc30a2d
commit
5edab91bbb
1 changed files with 2 additions and 0 deletions
|
|
@ -1043,7 +1043,9 @@ ZEXTERN uLong ZEXPORT z_crc32 OF((uLong crc, const Bytef *buf, uInt len))
|
|||
return crc32(crc, buf, len);
|
||||
}
|
||||
|
||||
#if ZLIB_VERNUM >= 0x1270
|
||||
ZEXTERN const z_crc_t FAR * ZEXPORT z_get_crc_table OF((void))
|
||||
{
|
||||
return get_crc_table();
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue