We should compile the LZ4_decompress_safe and
LZ4_decompress_safe_partial functions in SPL and they will be discarded
if unused.
Signed-off-by: Tom Rini <trini@konsulko.com>
return (int) (-(((const char *)ip) - src)) - 1;
}
-#ifndef CONFIG_SPL_BUILD
__rcode int LZ4_decompress_safe(const char *source, char *dest,
int compressedSize, int maxDecompressedSize)
{
endOnInputSize, partial_decode,
noDict, (BYTE *)dst, NULL, 0);
}
-#endif