mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
Z_PREFIX zError function
When a project use zError function,linker can not find z_zError function
This commit is contained in:
parent
67a25968f0
commit
e00412f6b5
1 changed files with 7 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue