diff options
author | Nathan Moinvaziri <nathan@nathanm.com> | 2020-05-27 18:16:50 -0700 |
---|---|---|
committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2020-06-08 21:14:07 +0200 |
commit | 6dcc7bf815c803fe7712e449b3c8fee8f3ab6dda (patch) | |
tree | af00a790454262820503125a0d79f115925326ec /adler32.c | |
parent | f7305d1f82161f249c4acd4eea41e611c4f41cd3 (diff) |
For gzseek, gzoffset, gzopen, adler32_combine, crc32_combine and crc32_combine_gen, export 32-bit and 64-bit versions for zlib-compatible api and only 64-bit version (without 64 suffix) for zlib-ng native api.
Diffstat (limited to 'adler32.c')
-rw-r--r-- | adler32.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -121,10 +121,12 @@ static uint32_t adler32_combine_(uint32_t adler1, uint32_t adler2, z_off64_t len } /* ========================================================================= */ +#ifdef ZLIB_COMPAT uint32_t ZEXPORT PREFIX(adler32_combine)(uint32_t adler1, uint32_t adler2, z_off_t len2) { return adler32_combine_(adler1, adler2, len2); } +#endif -uint32_t ZEXPORT PREFIX(adler32_combine64)(uint32_t adler1, uint32_t adler2, z_off64_t len2) { +uint32_t ZEXPORT PREFIX4(adler32_combine)(uint32_t adler1, uint32_t adler2, z_off64_t len2) { return adler32_combine_(adler1, adler2, len2); } |