From: Yann Collet Date: Tue, 13 Sep 2016 15:50:08 +0000 (+0200) Subject: -r generates an error on systems which do not support it X-Git-Tag: v1.1.0~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4cc9bf9735ed9dccff88c5acc87ccfb06c325ae;p=thirdparty%2Fzstd.git -r generates an error on systems which do not support it --- diff --git a/programs/zstdcli.c b/programs/zstdcli.c index e829c93d6..66b75a199 100644 --- a/programs/zstdcli.c +++ b/programs/zstdcli.c @@ -334,8 +334,10 @@ int main(int argCount, char** argv) /* destination file name */ case 'o': nextArgumentIsOutFileName=1; argument++; break; +#ifdef UTIL_HAS_CREATEFILELIST /* recursive */ case 'r': recursive=1; argument++; break; +#endif #ifndef ZSTD_NOBENCH /* Benchmark */