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.
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