diff options
author | Mika Lindqvist <postmaster@raasu.org> | 2020-08-23 10:58:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-23 09:58:57 +0200 |
commit | 28e5e73f3427f3b80a3926f2564ae3ecb9309c72 (patch) | |
tree | acfa1d9ce46de78c86b07a6a46a0d0487a4ef245 /zutil.c | |
parent | cbc3962b937315ccfb0108a6a96ee005328f467c (diff) |
Reintroduce support for ZLIB_CONST in compat mode. (#704)
* Reintroduce support for ZLIB_CONST in compat mode.
Diffstat (limited to 'zutil.c')
-rw-r--r-- | zutil.c | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -9,17 +9,17 @@ # include "gzguts.h" #endif -const char * const PREFIX(z_errmsg)[10] = { - (const char *)"need dictionary", /* Z_NEED_DICT 2 */ - (const char *)"stream end", /* Z_STREAM_END 1 */ - (const char *)"", /* Z_OK 0 */ - (const char *)"file error", /* Z_ERRNO (-1) */ - (const char *)"stream error", /* Z_STREAM_ERROR (-2) */ - (const char *)"data error", /* Z_DATA_ERROR (-3) */ - (const char *)"insufficient memory", /* Z_MEM_ERROR (-4) */ - (const char *)"buffer error", /* Z_BUF_ERROR (-5) */ - (const char *)"incompatible version",/* Z_VERSION_ERROR (-6) */ - (const char *)"" +z_const char * const PREFIX(z_errmsg)[10] = { + (z_const char *)"need dictionary", /* Z_NEED_DICT 2 */ + (z_const char *)"stream end", /* Z_STREAM_END 1 */ + (z_const char *)"", /* Z_OK 0 */ + (z_const char *)"file error", /* Z_ERRNO (-1) */ + (z_const char *)"stream error", /* Z_STREAM_ERROR (-2) */ + (z_const char *)"data error", /* Z_DATA_ERROR (-3) */ + (z_const char *)"insufficient memory", /* Z_MEM_ERROR (-4) */ + (z_const char *)"buffer error", /* Z_BUF_ERROR (-5) */ + (z_const char *)"incompatible version",/* Z_VERSION_ERROR (-6) */ + (z_const char *)"" }; const char zlibng_string[] = |