get_crc_table only with ZLIB_VERNUM >= 0x1270

This commit is contained in:
Przemyslaw Skibinski 2017-01-18 10:39:39 +01:00
parent 8a0bc30a2d
commit 5edab91bbb

View File

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