make gz* functions compatible with zlib 1.2.3+

This commit is contained in:
Przemyslaw Skibinski
2016-11-28 14:09:26 +01:00
parent 91437d844d
commit c77befef81
3 changed files with 15 additions and 3 deletions
+1
View File
@@ -17,6 +17,7 @@ extern "C" {
#define ZLIB_CONST
#define Z_PREFIX
#define ZLIB_INTERNAL /* disables gz*64 functions but fixes zlib 1.2.4 with Z_PREFIX */
#include <zlib.h>
#if !defined(z_const)