diff options
author | Przemyslaw Skibinski <inikep@gmail.com> | 2016-11-09 12:19:08 (GMT) |
---|---|---|
committer | Przemyslaw Skibinski <inikep@gmail.com> | 2016-11-09 12:19:08 (GMT) |
commit | dd14dca15cd595f28e820d9a5ab31e151bd9aa76 (patch) | |
tree | 5768e3cf55746f8320e8298858afc5cbefb40340 /tests/fullbench.c | |
parent | 325babddf075cf980f05acdb4ebce81b5c76e080 (diff) | |
download | lz4-dd14dca15cd595f28e820d9a5ab31e151bd9aa76.zip lz4-dd14dca15cd595f28e820d9a5ab31e151bd9aa76.tar.gz lz4-dd14dca15cd595f28e820d9a5ab31e151bd9aa76.tar.bz2 |
LZ4_DLL_IMPORT
Diffstat (limited to 'tests/fullbench.c')
-rw-r--r-- | tests/fullbench.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/fullbench.c b/tests/fullbench.c index baebb14..975cf8a 100644 --- a/tests/fullbench.c +++ b/tests/fullbench.c @@ -294,7 +294,7 @@ static int local_LZ4_compress_limitedOutput_continue(const char* in, char* out, return LZ4_compress_limitedOutput_continue(&LZ4_stream, in, out, inSize, LZ4_compressBound(inSize)-1); } -#ifndef LZ4_COMPILED_AS_DLL +#ifndef LZ4_DLL_IMPORT /* declare hidden function */ int LZ4_compress_forceExtDict (LZ4_stream_t* LZ4_stream, const char* source, char* dest, int inputSize); @@ -366,7 +366,7 @@ static int local_LZ4_decompress_safe_usingDict(const char* in, char* out, int in return outSize; } -#ifndef LZ4_COMPILED_AS_DLL +#ifndef LZ4_DLL_IMPORT extern int LZ4_decompress_safe_forceExtDict(const char* in, char* out, int inSize, int outSize, const char* dict, int dictSize); static int local_LZ4_decompress_safe_forceExtDict(const char* in, char* out, int inSize, int outSize) @@ -525,7 +525,7 @@ int fullSpeedBench(const char** fileNamesTable, int nbFiles) case 13: compressionFunction = local_LZ4_compressHC_limitedOutput_withStateHC; compressorName = "LZ4_compressHC_limitedOutput_withStateHC"; break; case 14: compressionFunction = local_LZ4_compressHC_continue; initFunction = local_LZ4_resetStreamHC; compressorName = "LZ4_compressHC_continue"; break; case 15: compressionFunction = local_LZ4_compressHC_limitedOutput_continue; initFunction = local_LZ4_resetStreamHC; compressorName = "LZ4_compressHC_limitedOutput_continue"; break; -#ifndef LZ4_COMPILED_AS_DLL +#ifndef LZ4_DLL_IMPORT case 20: compressionFunction = local_LZ4_compress_forceDict; initFunction = local_LZ4_resetDictT; compressorName = "LZ4_compress_forceDict"; break; #endif case 30: compressionFunction = local_LZ4F_compressFrame; compressorName = "LZ4F_compressFrame"; @@ -620,7 +620,7 @@ int fullSpeedBench(const char** fileNamesTable, int nbFiles) case 4: decompressionFunction = LZ4_decompress_safe; dName = "LZ4_decompress_safe"; break; case 6: decompressionFunction = local_LZ4_decompress_safe_usingDict; dName = "LZ4_decompress_safe_usingDict"; break; case 7: decompressionFunction = local_LZ4_decompress_safe_partial; dName = "LZ4_decompress_safe_partial"; break; -#ifndef LZ4_COMPILED_AS_DLL +#ifndef LZ4_DLL_IMPORT case 8: decompressionFunction = local_LZ4_decompress_safe_forceExtDict; dName = "LZ4_decompress_safe_forceExtDict"; break; #endif case 9: decompressionFunction = local_LZ4F_decompress; dName = "LZ4F_decompress"; |