diff options
| author | Mike Buland <mike@xagasoft.com> | 2016-09-21 12:54:23 -0600 |
|---|---|---|
| committer | Mike Buland <mike@xagasoft.com> | 2016-09-21 12:54:23 -0600 |
| commit | a612205584558c52ae2fedd616d7eb735d5ba84a (patch) | |
| tree | c82e28a16d8e63dc69f604be64afd544b424e9a5 /src/stable/bzip2.cpp | |
| parent | 4de5cbe4330bf65cf8157ab98b9c8cbc203dc1cb (diff) | |
| download | libbu++-a612205584558c52ae2fedd616d7eb735d5ba84a.tar.gz libbu++-a612205584558c52ae2fedd616d7eb735d5ba84a.tar.bz2 libbu++-a612205584558c52ae2fedd616d7eb735d5ba84a.tar.xz libbu++-a612205584558c52ae2fedd616d7eb735d5ba84a.zip | |
Tweaks to make building on windows easier.
Also, just building without bzip2 or lzma easier.
Diffstat (limited to 'src/stable/bzip2.cpp')
| -rw-r--r-- | src/stable/bzip2.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ | |||
| 8 | #include "bu/bzip2.h" | 8 | #include "bu/bzip2.h" |
| 9 | #include "bu/trace.h" | 9 | #include "bu/trace.h" |
| 10 | 10 | ||
| 11 | #ifdef BU_HAS_BZIP2 | ||
| 11 | #include <bzlib.h> | 12 | #include <bzlib.h> |
| 12 | 13 | ||
| 13 | #define pState ((bz_stream *)prState) | 14 | #define pState ((bz_stream *)prState) |
| @@ -234,3 +235,5 @@ Bu::size Bu::BZip2::getCompressedSize() | |||
| 234 | return sTotalOut; | 235 | return sTotalOut; |
| 235 | } | 236 | } |
| 236 | 237 | ||
| 238 | #endif | ||
| 239 | |||
