diff options
author | Denis Vlasenko | 2007-09-05 11:48:32 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-09-05 11:48:32 +0000 |
commit | 211f7f88ae67e875bed50409b2edbb6d740fc648 (patch) | |
tree | ae37652f75374919fff81e732fd2ab867e6a947a /include/unarchive.h | |
parent | beffd43d8e393b68787a00d9c6078a2b367afd01 (diff) | |
download | busybox-211f7f88ae67e875bed50409b2edbb6d740fc648.zip busybox-211f7f88ae67e875bed50409b2edbb6d740fc648.tar.gz |
tar + gzip/bzip2/etc: support NOMMU machines (by Alex Landau <landau_alex@yahoo.com>)
Diffstat (limited to 'include/unarchive.h')
-rw-r--r-- | include/unarchive.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/unarchive.h b/include/unarchive.h index bea0558..51ec89c 100644 --- a/include/unarchive.h +++ b/include/unarchive.h @@ -115,7 +115,13 @@ extern USE_DESKTOP(long long) int inflate_unzip(inflate_unzip_result *res, unsig extern USE_DESKTOP(long long) int unpack_gz_stream(int src_fd, int dst_fd); extern USE_DESKTOP(long long) int unpack_lzma_stream(int src_fd, int dst_fd); +#if BB_MMU extern int open_transformer(int src_fd, USE_DESKTOP(long long) int (*transformer)(int src_fd, int dst_fd)); +#define open_transformer(src_fd, transformer, transform_prog, ...) open_transformer(src_fd, transformer) +#else +extern int open_transformer(int src_fd, const char *transform_prog, ...); +#define open_transformer(src_fd, transformer, transform_prog, ...) open_transformer(src_fd, transform_prog, __VA_ARGS__) +#endif #endif |