summaryrefslogtreecommitdiffstats
path: root/programs/lz4cli.c
diff options
context:
space:
mode:
authorJerome Duval <jerome.duval@gmail.com>2019-09-08 11:36:26 (GMT)
committerJerome Duval <jerome.duval@gmail.com>2019-11-07 13:32:38 (GMT)
commit935b432be14bb97ddba14880640d69d98ea5ad57 (patch)
treed933888b4d0fc354fe1564e2e1da3ada86e5f14c /programs/lz4cli.c
parent6e0d2be73aae5a813bd5dc094bb39b3e03358817 (diff)
downloadlz4-935b432be14bb97ddba14880640d69d98ea5ad57.zip
lz4-935b432be14bb97ddba14880640d69d98ea5ad57.tar.gz
lz4-935b432be14bb97ddba14880640d69d98ea5ad57.tar.bz2
bring support for Haiku up to date.
Diffstat (limited to 'programs/lz4cli.c')
-rw-r--r--programs/lz4cli.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/programs/lz4cli.c b/programs/lz4cli.c
index e95050b..94f466f 100644
--- a/programs/lz4cli.c
+++ b/programs/lz4cli.c
@@ -658,7 +658,11 @@ int main(int argc, const char** argv)
if (!output_filename) output_filename = stdoutmark;
}
else{
+#ifdef UTIL_HAS_CREATEFILELIST
if (!recursive && !UTIL_isRegFile(input_filename)) {
+#else
+ if (!UTIL_isRegFile(input_filename)) {
+#endif
DISPLAYLEVEL(1, "%s: is not a regular file \n", input_filename);
exit(1);
}