mirror of
https://github.com/facebook/zstd.git
synced 2025-07-30 22:23:13 +03:00
get_crc_table only with ZLIB_VERNUM >= 0x1270
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user