diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index f743bdfc6..c896e5484 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -713,6 +713,14 @@ extern void *xmalloc_read(int fd, size_t *maxsz_p) FAST_FUNC RETURNS_MALLOC; | |||
713 | extern void *xmalloc_open_read_close(const char *filename, size_t *maxsz_p) FAST_FUNC RETURNS_MALLOC; | 713 | extern void *xmalloc_open_read_close(const char *filename, size_t *maxsz_p) FAST_FUNC RETURNS_MALLOC; |
714 | /* Never returns NULL */ | 714 | /* Never returns NULL */ |
715 | extern void *xmalloc_xopen_read_close(const char *filename, size_t *maxsz_p) FAST_FUNC RETURNS_MALLOC; | 715 | extern void *xmalloc_xopen_read_close(const char *filename, size_t *maxsz_p) FAST_FUNC RETURNS_MALLOC; |
716 | |||
717 | #define SEAMLESS_COMPRESSION (0 \ | ||
718 | || ENABLE_FEATURE_SEAMLESS_XZ \ | ||
719 | || ENABLE_FEATURE_SEAMLESS_LZMA \ | ||
720 | || ENABLE_FEATURE_SEAMLESS_BZ2 \ | ||
721 | || ENABLE_FEATURE_SEAMLESS_GZ \ | ||
722 | || ENABLE_FEATURE_SEAMLESS_Z) | ||
723 | |||
716 | /* Autodetects gzip/bzip2 formats. fd may be in the middle of the file! */ | 724 | /* Autodetects gzip/bzip2 formats. fd may be in the middle of the file! */ |
717 | #if ENABLE_FEATURE_SEAMLESS_LZMA \ | 725 | #if ENABLE_FEATURE_SEAMLESS_LZMA \ |
718 | || ENABLE_FEATURE_SEAMLESS_BZ2 \ | 726 | || ENABLE_FEATURE_SEAMLESS_BZ2 \ |