get_crc_table only with ZLIB_VERNUM >= 0x1270

dev
Przemyslaw Skibinski 2017-01-18 10:39:39 +01:00
parent 8a0bc30a2d
commit 5edab91bbb
1 changed files with 2 additions and 0 deletions

View File

@ -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