summaryrefslogtreecommitdiff
path: root/zbuild.h
diff options
context:
space:
mode:
authorNathan Moinvaziri <nathan@nathanm.com>2020-05-27 18:16:50 -0700
committerHans Kristian Rosbach <hk-github@circlestorm.org>2020-06-08 21:14:07 +0200
commit6dcc7bf815c803fe7712e449b3c8fee8f3ab6dda (patch)
treeaf00a790454262820503125a0d79f115925326ec /zbuild.h
parentf7305d1f82161f249c4acd4eea41e611c4f41cd3 (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 'zbuild.h')
-rw-r--r--zbuild.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zbuild.h b/zbuild.h
index 8774c75..d45b1fe 100644
--- a/zbuild.h
+++ b/zbuild.h
@@ -15,12 +15,14 @@
# define PREFIX(x) x
# define PREFIX2(x) ZLIB_ ## x
# define PREFIX3(x) z_ ## x
+# define PREFIX4(x) x ## 64
# define zVersion zlibVersion
# define z_size_t unsigned long
#else
# define PREFIX(x) zng_ ## x
# define PREFIX2(x) ZLIBNG_ ## x
# define PREFIX3(x) zng_ ## x
+# define PREFIX4(x) zng_ ## x
# define zVersion zlibng_version
# define z_size_t size_t
#endif