get_crc_table only with ZLIB_VERNUM >= 0x1270
This commit is contained in:
parent
8a0bc30a2d
commit
5edab91bbb
@ -1043,7 +1043,9 @@ ZEXTERN uLong ZEXPORT z_crc32 OF((uLong crc, const Bytef *buf, uInt len))
|
|||||||
return crc32(crc, buf, len);
|
return crc32(crc, buf, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if ZLIB_VERNUM >= 0x1270
|
||||||
ZEXTERN const z_crc_t FAR * ZEXPORT z_get_crc_table OF((void))
|
ZEXTERN const z_crc_t FAR * ZEXPORT z_get_crc_table OF((void))
|
||||||
{
|
{
|
||||||
return get_crc_table();
|
return get_crc_table();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user