From d6125855825b8a811e9621d7eee24b0c29823bd9 Mon Sep 17 00:00:00 2001 From: John Reiser Date: Sun, 15 Mar 2015 10:30:55 -0700 Subject: [PATCH] C/7zTypes.h #if (WITH_LZMA >= 0x938) --- src/compress_lzma.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/compress_lzma.cpp b/src/compress_lzma.cpp index 7f651752..54dba11a 100644 --- a/src/compress_lzma.cpp +++ b/src/compress_lzma.cpp @@ -98,7 +98,13 @@ int compress_lzma_dummy = 0; #if (WITH_LZMA != (0x100 * MY_VER_MAJOR) + (0x10 * (MY_VER_MINOR / 10)) + (MY_VER_MINOR % 10)) # error "WITH_LZMA version mismatch" #endif + +#if (WITH_LZMA >= 0x938) +#include "C/7zTypes.h" +#else #include "C/Types.h" +#endif + static void *cb_alloc(void *, size_t size) { return malloc(size); }