diff options
author | Takayuki Matsuoka <t-mat@users.noreply.github.com> | 2022-08-07 10:06:37 (GMT) |
---|---|---|
committer | Takayuki Matsuoka <t-mat@users.noreply.github.com> | 2022-08-07 10:06:37 (GMT) |
commit | 721e76d1af1d248d0e6fefb2a090cd4b1c4a08f2 (patch) | |
tree | a9d54c2b8b30d491c7d821ab5aa297fa6e81688c /lib/lz4.c | |
parent | ca26930a91e5b1d47d725b1043e1f5282fd18aaf (diff) | |
download | lz4-721e76d1af1d248d0e6fefb2a090cd4b1c4a08f2.zip lz4-721e76d1af1d248d0e6fefb2a090cd4b1c4a08f2.tar.gz lz4-721e76d1af1d248d0e6fefb2a090cd4b1c4a08f2.tar.bz2 |
Add LZ4_FREESTANDING
Diffstat (limited to 'lib/lz4.c')
-rw-r--r-- | lib/lz4.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -209,7 +209,9 @@ void LZ4_free(void* p); # define FREEMEM(p) free(p) #endif -#include <string.h> /* memset, memcpy */ +#if ! LZ4_FREESTANDING +# include <string.h> /* memset, memcpy */ +#endif #if !defined(LZ4_memset) # define LZ4_memset(p,v,s) memset((p),(v),(s)) #endif |