fixed zstd-decompress

which cannot support ZSTD_minCLevel()
dev
Yann Collet 2018-09-22 17:21:39 -07:00
parent 364041c6dd
commit 0fc07eb1fd
1 changed files with 2 additions and 0 deletions

View File

@ -631,6 +631,7 @@ int main(int argCount, const char* argv[])
compressionParams.windowLog = ldmWindowLog;
continue;
}
#ifndef ZSTD_NOCOMPRESS /* linking ZSTD_minCLevel() requires compression support */
if (longCommandWArg(&argument, "--fast")) {
/* Parse optional acceleration factor */
if (*argument == '=') {
@ -652,6 +653,7 @@ int main(int argCount, const char* argv[])
}
continue;
}
#endif
/* fall-through, will trigger bad_usage() later on */
}