diff options
author | Joerg Sonnenberger <joerg.sonnenberger@gmail.com> | 2010-06-19 09:02:48 -0400 |
---|---|---|
committer | Joerg Sonnenberger <joerg.sonnenberger@gmail.com> | 2010-06-19 09:02:48 -0400 |
commit | 3a5fce69270874ae88186087da199a3d0d70542d (patch) | |
tree | 5db29c6870d44fe8fdb455c8867ae8b7bf06a47d /libarchive/archive_write_add_filter_bzip2.c | |
parent | b8ad1655a977a9f2617306bbcc1118b76b2261d3 (diff) | |
download | libarchive-3a5fce69270874ae88186087da199a3d0d70542d.tar.gz |
Deal with bzip2 before 1.0 by not using it.
SVN-Revision: 2488
Diffstat (limited to 'libarchive/archive_write_add_filter_bzip2.c')
-rw-r--r-- | libarchive/archive_write_add_filter_bzip2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libarchive/archive_write_add_filter_bzip2.c b/libarchive/archive_write_add_filter_bzip2.c index 35d29b95..85a84922 100644 --- a/libarchive/archive_write_add_filter_bzip2.c +++ b/libarchive/archive_write_add_filter_bzip2.c @@ -54,7 +54,7 @@ archive_write_set_compression_bzip2(struct archive *a) } #endif -#ifndef HAVE_BZLIB_H +#if !defined(HAVE_BZLIB_H) || !defined(BZ_CONFIG_ERROR) int archive_write_add_filter_bzip2(struct archive *a) { @@ -341,4 +341,4 @@ drive_compressor(struct archive_write_filter *f, } } -#endif /* HAVE_BZLIB_H */ +#endif /* HAVE_BZLIB_H && BZ_CONFIG_ERROR */ |