summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2016-11-04 23:29:43 (GMT)
committerYann Collet <cyan@fb.com>2016-11-04 23:29:43 (GMT)
commit079d5dd54b763a0f1bf7aae14f7ff4852c358d8e (patch)
tree0c2a32417f65bfe1e1c60b6427c264bc365da5c4
parent473acf5aa97ba28f1f079a0c37a78f12b5730695 (diff)
downloadlz4-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.
-rw-r--r--lib/lz4frame_static.h2
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