Skip to content
Browse files

remove libarchive compat hack

  • Loading branch information...
1 parent fae7728 commit 4dcbf1d9001848aa3b953c664700df2fb33d8ddf @falconindy committed Jan 28, 2013
Showing with 0 additions and 12 deletions.
  1. +0 −12 src/pkgfile.h
View
12 src/pkgfile.h
@@ -41,18 +41,6 @@
# define PCRE_STUDY_JIT_COMPILE 0
#endif
-/* allow compilation with libarchive < 3.0 */
-#if ARCHIVE_VERSION_NUMBER < 3000000
-# define archive_read_free(x) archive_read_finish(x)
-# define archive_write_free(x) archive_write_finish(x)
-
-# define archive_write_add_filter_none(x) archive_write_set_compression_none(x)
-# define archive_write_add_filter_gzip(x) archive_write_set_compression_gzip(x)
-# define archive_write_add_filter_bzip2(x) archive_write_set_compression_bzip2(x)
-# define archive_write_add_filter_lzma(x) archive_write_set_compression_lzma(x)
-# define archive_write_add_filter_xz(x) archive_write_set_compression_xz(x)
-#endif
-
struct archive_read_buffer {
char *line;
char *line_offset;

0 comments on commit 4dcbf1d

Please sign in to comment.
Something went wrong with that request. Please try again.