summaryrefslogtreecommitdiffstats
path: root/runtime/zlibw.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/zlibw.c')
-rw-r--r--runtime/zlibw.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/runtime/zlibw.c b/runtime/zlibw.c
index 95ac9138..2b386213 100644
--- a/runtime/zlibw.c
+++ b/runtime/zlibw.c
@@ -51,9 +51,9 @@ static int myDeflateInit(z_streamp strm, int level)
return deflateInit(strm, level);
}
-static int myDeflate(z_streamp strm, int flush)
+static int myDeflateInit2(z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy)
{
- return deflate(strm, flush);
+ return deflateInit2(strm, level, method, windowBits, memLevel, strategy);
}
static int myDeflateEnd(z_streamp strm)
@@ -61,6 +61,11 @@ static int myDeflateEnd(z_streamp strm)
return deflateEnd(strm);
}
+static int myDeflate(z_streamp strm, int flush)
+{
+ return deflate(strm, flush);
+}
+
/* queryInterface function
* rgerhards, 2008-03-05
@@ -77,6 +82,7 @@ CODESTARTobjQueryInterface(zlibw)
* of course, also affects the "if" above).
*/
pIf->DeflateInit = myDeflateInit;
+ pIf->DeflateInit2 = myDeflateInit2;
pIf->Deflate = myDeflate;
pIf->DeflateEnd = myDeflateEnd;
finalize_it: