1
0
mirror of https://github.com/facebook/zstd.git synced 2025-12-24 17:21:03 +03:00

Z_PREFIX zError function

When a project use zError function,linker can not find z_zError function
This commit is contained in:
koala
2021-06-11 19:29:27 +08:00
committed by GitHub
parent 67a25968f0
commit e00412f6b5

View File

@@ -1189,3 +1189,10 @@ ZEXTERN const z_crc_t FAR * ZEXPORT z_get_crc_table OF((void))
return get_crc_table();
}
#endif
/* Error function */
ZEXTERN const char * ZEXPORT z_zError OF((int err))
{
/* Just use zlib Error function */
return zError(err);
}