summaryrefslogtreecommitdiff
path: root/inflate.h
diff options
context:
space:
mode:
authorMika Lindqvist <postmaster@raasu.org>2017-11-04 20:49:21 +0200
committerHans Kristian Rosbach <hk-git@circlestorm.org>2018-01-31 10:45:29 +0100
commitaff0fc6e3c42f5c7837d0bd069539ff8173fdd3c (patch)
tree44ecdd0c9f74948a015bcf3963096d956bae3491 /inflate.h
parent4408564a27dfc91bd27e1b7803f0cc514bf3d2be (diff)
Adapt code to support PREFIX macros and update build scripts
Diffstat (limited to 'inflate.h')
-rw-r--r--inflate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/inflate.h b/inflate.h
index 2e2e4e2..8c142a9 100644
--- a/inflate.h
+++ b/inflate.h
@@ -83,7 +83,7 @@ typedef enum {
/* State maintained between inflate() calls -- approximately 7K bytes, not
including the allocated sliding window, which is up to 32K bytes. */
struct inflate_state {
- z_stream *strm; /* pointer back to this zlib stream */
+ PREFIX3(stream) *strm; /* pointer back to this zlib stream */
inflate_mode mode; /* current inflate mode */
int last; /* true if processing last block */
int wrap; /* bit 0 true for zlib, bit 1 true for gzip,
@@ -93,7 +93,7 @@ struct inflate_state {
unsigned dmax; /* zlib header max distance (INFLATE_STRICT) */
unsigned long check; /* protected copy of check value */
unsigned long total; /* protected copy of output count */
- gz_headerp head; /* where to save gzip header information */
+ PREFIX(gz_headerp) head; /* where to save gzip header information */
/* sliding window */
unsigned wbits; /* log base 2 of requested window size */
uint32_t wsize; /* window size or zero if not using window */