From e925c494fe30adafb615c075f5eb692dd2b2effa Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sat, 9 Apr 2016 21:45:54 +1000 Subject: Update LZMA SDK to 15.14 --- 3rdparty/lzma/C/Lzma2Dec.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to '3rdparty/lzma/C/Lzma2Dec.h') diff --git a/3rdparty/lzma/C/Lzma2Dec.h b/3rdparty/lzma/C/Lzma2Dec.h index 6bc07bbc185..e6a0f6ed6db 100644 --- a/3rdparty/lzma/C/Lzma2Dec.h +++ b/3rdparty/lzma/C/Lzma2Dec.h @@ -1,14 +1,12 @@ /* Lzma2Dec.h -- LZMA2 Decoder -2009-05-03 : Igor Pavlov : Public domain */ +2015-05-13 : Igor Pavlov : Public domain */ #ifndef __LZMA2_DEC_H #define __LZMA2_DEC_H #include "LzmaDec.h" -#ifdef __cplusplus -extern "C" { -#endif +EXTERN_C_BEGIN /* ---------- State Interface ---------- */ @@ -17,7 +15,7 @@ typedef struct CLzmaDec decoder; UInt32 packSize; UInt32 unpackSize; - int state; + unsigned state; Byte control; Bool needInitDic; Bool needInitState; @@ -77,8 +75,6 @@ Returns: SRes Lzma2Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, Byte prop, ELzmaFinishMode finishMode, ELzmaStatus *status, ISzAlloc *alloc); -#ifdef __cplusplus -} -#endif +EXTERN_C_END #endif -- cgit v1.2.3-70-g09d2