fixed zstd-decompress
which cannot support ZSTD_minCLevel()
This commit is contained in:
@@ -631,6 +631,7 @@ int main(int argCount, const char* argv[])
|
|||||||
compressionParams.windowLog = ldmWindowLog;
|
compressionParams.windowLog = ldmWindowLog;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
#ifndef ZSTD_NOCOMPRESS /* linking ZSTD_minCLevel() requires compression support */
|
||||||
if (longCommandWArg(&argument, "--fast")) {
|
if (longCommandWArg(&argument, "--fast")) {
|
||||||
/* Parse optional acceleration factor */
|
/* Parse optional acceleration factor */
|
||||||
if (*argument == '=') {
|
if (*argument == '=') {
|
||||||
@@ -652,6 +653,7 @@ int main(int argCount, const char* argv[])
|
|||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
/* fall-through, will trigger bad_usage() later on */
|
/* fall-through, will trigger bad_usage() later on */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user