zlibWrapper: support for zlib versions from 1.2.3 to 1.2.8
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user