From 6312c005522de47dcaf442f613065415bcbd8ef7 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Thu, 14 Feb 2019 11:25:52 +0000 Subject: libarchive: remove more symlink code Since symlinks aren't supported in busybox-w32 remove more of the code that handles them. Saves 64 bytes. --- include/bb_archive.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/bb_archive.h b/include/bb_archive.h index 7d70ac086..b2cb7b347 100644 --- a/include/bb_archive.h +++ b/include/bb_archive.h @@ -213,6 +213,9 @@ void seek_by_jump(int fd, off_t amount) FAST_FUNC; void seek_by_read(int fd, off_t amount) FAST_FUNC; const char *strip_unsafe_prefix(const char *str) FAST_FUNC; +#if ENABLE_PLATFORM_MINGW32 +#define create_or_remember_link(lp, t, ln, hl) create_or_remember_link(t, ln) +#endif void create_or_remember_link(llist_t **link_placeholders, const char *target, const char *linkname, -- cgit v1.2.3-55-g6feb