diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-01-04 10:13:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-04 10:13:15 +0100 |
commit | bdbcf29246bad902e94c3a5fb1fd1abb06aeb2ae (patch) | |
tree | c85c2c9a80d04e338cf39d0fed3fdba2d0291b29 /thirdparty/zstd/common/zstd_common.c | |
parent | b1e3215f3a316cfaf518747f7dafba4cc0d8d291 (diff) | |
parent | e64391f47bf95ab4cdb65683623979ee6790836e (diff) |
Merge pull request #24754 from guilhermefelipecgs/fix_17374
Update zstd to 1.3.8
Diffstat (limited to 'thirdparty/zstd/common/zstd_common.c')
-rw-r--r-- | thirdparty/zstd/common/zstd_common.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/thirdparty/zstd/common/zstd_common.c b/thirdparty/zstd/common/zstd_common.c index bccc948892..667f4a27fc 100644 --- a/thirdparty/zstd/common/zstd_common.c +++ b/thirdparty/zstd/common/zstd_common.c @@ -30,8 +30,10 @@ const char* ZSTD_versionString(void) { return ZSTD_VERSION_STRING; } /*-**************************************** * ZSTD Error Management ******************************************/ +#undef ZSTD_isError /* defined within zstd_internal.h */ /*! ZSTD_isError() : - * tells if a return value is an error code */ + * tells if a return value is an error code + * symbol is required for external callers */ unsigned ZSTD_isError(size_t code) { return ERR_isError(code); } /*! ZSTD_getErrorName() : @@ -46,11 +48,6 @@ ZSTD_ErrorCode ZSTD_getErrorCode(size_t code) { return ERR_getErrorCode(code); } * provides error code string from enum */ const char* ZSTD_getErrorString(ZSTD_ErrorCode code) { return ERR_getErrorString(code); } -/*! g_debuglog_enable : - * turn on/off debug traces (global switch) */ -#if defined(ZSTD_DEBUG) && (ZSTD_DEBUG >= 2) -int g_debuglog_enable = 1; -#endif /*=************************************************************** |