Skip to content

Commit

Permalink
Merge pull request #2707 from koalabearguo/dev
Browse files Browse the repository at this point in the history
Z_PREFIX  zError function
  • Loading branch information
terrelln authored Jul 28, 2021
2 parents 4955976 + e00412f commit d69e007
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions zlibWrapper/zstd_zlibwrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit d69e007

Please # to comment.