aboutsummaryrefslogtreecommitdiff
path: root/src/stable/lzma.cpp
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2016-09-21 12:54:23 -0600
committerMike Buland <mike@xagasoft.com>2016-09-21 12:54:23 -0600
commita612205584558c52ae2fedd616d7eb735d5ba84a (patch)
treec82e28a16d8e63dc69f604be64afd544b424e9a5 /src/stable/lzma.cpp
parent4de5cbe4330bf65cf8157ab98b9c8cbc203dc1cb (diff)
downloadlibbu++-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 '')
-rw-r--r--src/stable/lzma.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stable/lzma.cpp b/src/stable/lzma.cpp
index d05c79f..c8e8960 100644
--- a/src/stable/lzma.cpp
+++ b/src/stable/lzma.cpp
@@ -8,6 +8,8 @@
8#include "bu/lzma.h" 8#include "bu/lzma.h"
9#include "bu/trace.h" 9#include "bu/trace.h"
10 10
11#ifdef BU_HAS_LZMA
12
11#include <lzma.h> 13#include <lzma.h>
12 14
13#define pState ((lzma_stream *)prState) 15#define pState ((lzma_stream *)prState)
@@ -246,3 +248,5 @@ Bu::size Bu::Lzma::getCompressedSize()
246 return sTotalOut; 248 return sTotalOut;
247} 249}
248 250
251#endif
252