zwrapbench uses z_const

This commit is contained in:
Przemyslaw Skibinski
2016-11-04 17:49:17 +01:00
parent 7e06e6ab19
commit 6cecb35f98
3 changed files with 10 additions and 11 deletions
+2 -4
View File
@@ -15,16 +15,14 @@ extern "C" {
#endif
#define ZLIB_CONST
#define Z_PREFIX
#include <zlib.h>
#if !defined(z_const)
#if ZLIB_VERNUM >= 0x1260
#define z_const const
#else
#define z_const
#endif
#endif
/* returns a string with version of zstd library */
const char * zstdVersion(void);