16#if defined (__cplusplus)
32# define ERR_STATIC static __attribute__((unused))
33#elif defined (__cplusplus) || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) )
34# define ERR_STATIC static inline
35#elif defined(_MSC_VER)
36# define ERR_STATIC static __inline
38# define ERR_STATIC static
46#define PREFIX(name) ZSTD_error_##name
53#define ERROR(name) ZSTD_ERROR(name)
54#define ZSTD_ERROR(name) ((size_t)-PREFIX(name))
61#define CHECK_V_F(e, f) size_t const e = f; if (ERR_isError(e)) return e
62#define CHECK_F(f) { CHECK_V_F(_var_err__, f); }
76#if defined (__cplusplus)
const char * ERR_getErrorString(ERR_enum code)
ERR_STATIC ERR_enum ERR_getErrorCode(size_t code)
ERR_STATIC unsigned ERR_isError(size_t code)
ERR_STATIC const char * ERR_getErrorName(size_t code)