mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-11-26 19:51:32 +00:00
f2fs-tools: fix build error on lz4-1.9.4
LZ4_STREAMSIZE_U64 is undefined in new lz4 lib. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
e864d270dd
commit
f250440b04
@ -32,10 +32,7 @@
|
||||
#ifdef HAVE_LIBLZ4
|
||||
#define LZ4_MEMORY_USAGE 14
|
||||
#define LZ4_MAX_INPUT_SIZE 0x7E000000 /* 2 113 929 216 bytes */
|
||||
#ifndef LZ4_STREAMSIZE
|
||||
#define LZ4_STREAMSIZE (LZ4_STREAMSIZE_U64 * sizeof(long long))
|
||||
#endif
|
||||
#define LZ4_MEM_COMPRESS LZ4_STREAMSIZE
|
||||
#define LZ4_MEM_COMPRESS sizeof(LZ4_stream_t)
|
||||
#define LZ4_ACCELERATION_DEFAULT 1
|
||||
#define LZ4_WORK_SIZE ALIGN_UP(LZ4_MEM_COMPRESS, 8)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user