zlibWrapper: support for zlib versions from 1.2.3 to 1.2.8

This commit is contained in:
inikep committed 2016-06-02 10:19:35 +02:00
1 parent 9242816b56
commit bf25d7ac57
4 files changed
+64 -47

No files matched your search

+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);