removed support for old error code enums from lz4frame_static.h, to free up namespace.

note : lz4frame_static.h does not guaranteed API stability.
note 2 : the macro to enable old error code enums is still present. Just needs to comment one line to re-enable them.
This commit is contained in:
Yann Collet 2016-11-04 16:29:43 -07:00
parent 473acf5aa9
commit 079d5dd54b

View File

@ -64,7 +64,7 @@ extern "C" {
ITEM(ERROR_headerChecksum_invalid) ITEM(ERROR_contentChecksum_invalid) \
ITEM(ERROR_maxCode)
//#define LZ4F_DISABLE_OLD_ENUMS /* uncomment to disable deprecated enums */
#define LZ4F_DISABLE_OLD_ENUMS /* comment to enable deprecated enums */
#ifndef LZ4F_DISABLE_OLD_ENUMS
# define LZ4F_GENERATE_ENUM(ENUM) LZ4F_##ENUM, ENUM = LZ4F_##ENUM,
#else