diff options
author | Bing Xu <bingxu@fb.com> | 2018-11-16 06:24:25 (GMT) |
---|---|---|
committer | Bing Xu <bingxu@fb.com> | 2018-11-16 06:24:25 (GMT) |
commit | 17f5071e72095d93e146264577ed7621763c2b70 (patch) | |
tree | 11625d8249c07caa6783a5f80a123f1ada9a9660 /lib/lz4.c | |
parent | 1b819bfd633ae285df2dfe1b0589e1ec064f2873 (diff) | |
download | lz4-17f5071e72095d93e146264577ed7621763c2b70.zip lz4-17f5071e72095d93e146264577ed7621763c2b70.tar.gz lz4-17f5071e72095d93e146264577ed7621763c2b70.tar.bz2 |
Enable amalgamation of lz4hc.c and lz4.c
Diffstat (limited to 'lib/lz4.c')
-rw-r--r-- | lib/lz4.c | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -32,6 +32,13 @@ - LZ4 source repository : https://github.com/lz4/lz4 */ +/* + * LZ4_SRC_INCLUDED: + * Amalgamation flag, whether lz4.c is included + */ +#ifndef LZ4_SRC_INCLUDED +# define LZ4_SRC_INCLUDED 1 +#endif /*-************************************ * Tuning parameters @@ -455,7 +462,13 @@ static const U32 LZ4_skipTrigger = 6; /* Increase this value ==> compression ru /*-************************************ * Local Structures and types **************************************/ -typedef enum { notLimited = 0, limitedOutput = 1, fillOutput = 2 } limitedOutput_directive; +typedef enum { + noLimit = 0, + notLimited = 1, + limitedOutput = 2, + fillOutput = 3, + limitedDestSize = 4 +} limitedOutput_directive; typedef enum { clearedTable = 0, byPtr, byU32, byU16 } tableType_t; /** |