From a612205584558c52ae2fedd616d7eb735d5ba84a Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 21 Sep 2016 12:54:23 -0600 Subject: Tweaks to make building on windows easier. Also, just building without bzip2 or lzma easier. --- src/stable/bzip2.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/stable/bzip2.cpp') diff --git a/src/stable/bzip2.cpp b/src/stable/bzip2.cpp index b48af37..b634a2c 100644 --- a/src/stable/bzip2.cpp +++ b/src/stable/bzip2.cpp @@ -8,6 +8,7 @@ #include "bu/bzip2.h" #include "bu/trace.h" +#ifdef BU_HAS_BZIP2 #include #define pState ((bz_stream *)prState) @@ -234,3 +235,5 @@ Bu::size Bu::BZip2::getCompressedSize() return sTotalOut; } +#endif + -- cgit v1.2.3