diff options
author | Yann Collet <cyan@fb.com> | 2016-11-04 23:29:43 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2016-11-04 23:29:43 (GMT) |
commit | 079d5dd54b763a0f1bf7aae14f7ff4852c358d8e (patch) | |
tree | 0c2a32417f65bfe1e1c60b6427c264bc365da5c4 /lib/lz4frame_static.h | |
parent | 473acf5aa97ba28f1f079a0c37a78f12b5730695 (diff) | |
download | lz4-079d5dd54b763a0f1bf7aae14f7ff4852c358d8e.zip lz4-079d5dd54b763a0f1bf7aae14f7ff4852c358d8e.tar.gz lz4-079d5dd54b763a0f1bf7aae14f7ff4852c358d8e.tar.bz2 |
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.
Diffstat (limited to 'lib/lz4frame_static.h')
-rw-r--r-- | lib/lz4frame_static.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lz4frame_static.h b/lib/lz4frame_static.h index fab3def..0c154a3 100644 --- a/lib/lz4frame_static.h +++ b/lib/lz4frame_static.h @@ -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 |