diff options
author | Yann Collet <cyan@fb.com> | 2017-01-05 15:50:37 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2017-01-05 15:50:37 (GMT) |
commit | 9683a1ae874b2928490d675b66fb80e12c111990 (patch) | |
tree | 6f123a4420b6ef4c67ed10242f604514aaf9bc36 /lib/lz4.h | |
parent | 16d69c8d039e42defbf7387dd0e4e9318017eb6d (diff) | |
download | lz4-9683a1ae874b2928490d675b66fb80e12c111990.zip lz4-9683a1ae874b2928490d675b66fb80e12c111990.tar.gz lz4-9683a1ae874b2928490d675b66fb80e12c111990.tar.bz2 |
LZ4_MEMORY_USAGE can be modified from compilation command line
Diffstat (limited to 'lib/lz4.h')
-rw-r--r-- | lib/lz4.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -108,8 +108,9 @@ LZ4LIB_API const char* LZ4_versionString (void); * Reduced memory usage can improve speed, due to cache effect * Default value is 14, for 16KB, which nicely fits into Intel x86 L1 cache */ -#define LZ4_MEMORY_USAGE 14 - +#ifndef LZ4_MEMORY_USAGE +# define LZ4_MEMORY_USAGE 14 +#endif /*-************************************ * Simple Functions |