diff options
author | Mika Lindqvist <postmaster@raasu.org> | 2017-11-04 20:49:21 +0200 |
---|---|---|
committer | Hans Kristian Rosbach <hk-git@circlestorm.org> | 2018-01-31 10:45:29 +0100 |
commit | aff0fc6e3c42f5c7837d0bd069539ff8173fdd3c (patch) | |
tree | 44ecdd0c9f74948a015bcf3963096d956bae3491 /deflate.h | |
parent | 4408564a27dfc91bd27e1b7803f0cc514bf3d2be (diff) |
Adapt code to support PREFIX macros and update build scripts
Diffstat (limited to 'deflate.h')
-rw-r--r-- | deflate.h | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -103,17 +103,17 @@ typedef unsigned IPos; */ typedef struct internal_state { - z_stream *strm; /* pointer back to this zlib stream */ - int status; /* as the name implies */ - unsigned char *pending_buf; /* output still pending */ - unsigned long pending_buf_size; /* size of pending_buf */ - unsigned char *pending_out; /* next pending byte to output to the stream */ - uint32_t pending; /* nb of bytes in the pending buffer */ - int wrap; /* bit 0 true for zlib, bit 1 true for gzip */ - gz_headerp gzhead; /* gzip header information to write */ - uint32_t gzindex; /* where in extra, name, or comment */ - unsigned char method; /* can only be DEFLATED */ - int last_flush; /* value of flush param for previous deflate call */ + PREFIX3(stream) *strm; /* pointer back to this zlib stream */ + int status; /* as the name implies */ + unsigned char *pending_buf; /* output still pending */ + unsigned long pending_buf_size; /* size of pending_buf */ + unsigned char *pending_out; /* next pending byte to output to the stream */ + uint32_t pending; /* nb of bytes in the pending buffer */ + int wrap; /* bit 0 true for zlib, bit 1 true for gzip */ + PREFIX(gz_headerp) gzhead; /* gzip header information to write */ + uint32_t gzindex; /* where in extra, name, or comment */ + unsigned char method; /* can only be DEFLATED */ + int last_flush; /* value of flush param for previous deflate call */ #ifdef X86_PCLMULQDQ_CRC unsigned ALIGNED_(16) crc0[4 * 5]; |