From 316ecf214a051121516730f794721f5e7b3036ac Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Wed, 27 May 2015 15:23:31 +0100 Subject: Enable seamless compression for WIN32 In the archival code we pretend that WIN32 is a no-MMU platform and use the new mingw_popen_fd routine to pipe data to/from commands to compress/decompress. The pretence is maintained by redefining MMU macros in bb_archive.h. This is mostly used in the archival code but there are a handful of places where it's used to access public interfaces. The symbol BB_ARCHIVE_PUBLIC is defined in these places. With these changes: tar supports seamless compression/decompression rpm2cpio and dpkg-deb can be enabled --- procps/smemcap.c | 1 + 1 file changed, 1 insertion(+) (limited to 'procps/smemcap.c') diff --git a/procps/smemcap.c b/procps/smemcap.c index 9d1126a49..b2b32198f 100644 --- a/procps/smemcap.c +++ b/procps/smemcap.c @@ -20,6 +20,7 @@ //config: a memory usage statistic tool. #include "libbb.h" +#define BB_ARCHIVE_PUBLIC #include "bb_archive.h" struct fileblock { -- cgit v1.2.3-55-g6feb