zlibWrapper: support for zlib versions from 1.2.3 to 1.2.8

This commit is contained in:
inikep
2016-06-02 10:19:35 +02:00
parent 9242816b56
commit bf25d7ac57
4 changed files with 64 additions and 47 deletions
+5 -1
View File
@@ -41,7 +41,11 @@ extern "C" {
#include <zlib.h>
#if !defined(z_const)
# define z_const const
#if ZLIB_VERNUM >= 0x1260
#define z_const const
#else
#define z_const
#endif
#endif
void useZSTD(int turn_on);