diff options
Diffstat (limited to 'zlib.h')
-rw-r--r-- | zlib.h | 42 |
1 files changed, 29 insertions, 13 deletions
@@ -1761,19 +1761,35 @@ ZEXTERN int ZEXPORT inflateBackInit_ OF((z_streamp strm, int windowBits, | |||
1761 | unsigned char FAR *window, | 1761 | unsigned char FAR *window, |
1762 | const char *version, | 1762 | const char *version, |
1763 | int stream_size)); | 1763 | int stream_size)); |
1764 | #define deflateInit(strm, level) \ | 1764 | #ifdef Z_PREFIX_SET |
1765 | deflateInit_((strm), (level), ZLIB_VERSION, (int)sizeof(z_stream)) | 1765 | # define z_deflateInit(strm, level) \ |
1766 | #define inflateInit(strm) \ | 1766 | deflateInit_((strm), (level), ZLIB_VERSION, (int)sizeof(z_stream)) |
1767 | inflateInit_((strm), ZLIB_VERSION, (int)sizeof(z_stream)) | 1767 | # define z_inflateInit(strm) \ |
1768 | #define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \ | 1768 | inflateInit_((strm), ZLIB_VERSION, (int)sizeof(z_stream)) |
1769 | deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\ | 1769 | # define z_deflateInit2(strm, level, method, windowBits, memLevel, strategy) \ |
1770 | (strategy), ZLIB_VERSION, (int)sizeof(z_stream)) | 1770 | deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\ |
1771 | #define inflateInit2(strm, windowBits) \ | 1771 | (strategy), ZLIB_VERSION, (int)sizeof(z_stream)) |
1772 | inflateInit2_((strm), (windowBits), ZLIB_VERSION, \ | 1772 | # define z_inflateInit2(strm, windowBits) \ |
1773 | (int)sizeof(z_stream)) | 1773 | inflateInit2_((strm), (windowBits), ZLIB_VERSION, \ |
1774 | #define inflateBackInit(strm, windowBits, window) \ | 1774 | (int)sizeof(z_stream)) |
1775 | inflateBackInit_((strm), (windowBits), (window), \ | 1775 | # define z_inflateBackInit(strm, windowBits, window) \ |
1776 | ZLIB_VERSION, (int)sizeof(z_stream)) | 1776 | inflateBackInit_((strm), (windowBits), (window), \ |
1777 | ZLIB_VERSION, (int)sizeof(z_stream)) | ||
1778 | #else | ||
1779 | # define deflateInit(strm, level) \ | ||
1780 | deflateInit_((strm), (level), ZLIB_VERSION, (int)sizeof(z_stream)) | ||
1781 | # define inflateInit(strm) \ | ||
1782 | inflateInit_((strm), ZLIB_VERSION, (int)sizeof(z_stream)) | ||
1783 | # define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \ | ||
1784 | deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\ | ||
1785 | (strategy), ZLIB_VERSION, (int)sizeof(z_stream)) | ||
1786 | # define inflateInit2(strm, windowBits) \ | ||
1787 | inflateInit2_((strm), (windowBits), ZLIB_VERSION, \ | ||
1788 | (int)sizeof(z_stream)) | ||
1789 | # define inflateBackInit(strm, windowBits, window) \ | ||
1790 | inflateBackInit_((strm), (windowBits), (window), \ | ||
1791 | ZLIB_VERSION, (int)sizeof(z_stream)) | ||
1792 | #endif | ||
1777 | 1793 | ||
1778 | #ifndef Z_SOLO | 1794 | #ifndef Z_SOLO |
1779 | 1795 | ||