Index: third_party/lzma_sdk/LzmaDec.h |
diff --git a/third_party/lzma_sdk/LzmaDec.h b/third_party/lzma_sdk/LzmaDec.h |
index bf7f084ba3ddce98a44402d0ac0925afb0c714d3..cc44daef214c26e7c9086a88434ea00e0dae55ec 100644 |
--- a/third_party/lzma_sdk/LzmaDec.h |
+++ b/third_party/lzma_sdk/LzmaDec.h |
@@ -1,14 +1,12 @@ |
/* LzmaDec.h -- LZMA Decoder |
-2009-02-07 : Igor Pavlov : Public domain */ |
+2013-01-18 : Igor Pavlov : Public domain */ |
#ifndef __LZMA_DEC_H |
#define __LZMA_DEC_H |
-#include "Types.h" |
+#include "7zTypes.h" |
-#ifdef __cplusplus |
-extern "C" { |
-#endif |
+EXTERN_C_BEGIN |
/* #define _LZMA_PROB32 */ |
/* _LZMA_PROB32 can increase the speed on some CPUs, |
@@ -224,8 +222,6 @@ SRes LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, |
const Byte *propData, unsigned propSize, ELzmaFinishMode finishMode, |
ELzmaStatus *status, ISzAlloc *alloc); |
-#ifdef __cplusplus |
-} |
-#endif |
+EXTERN_C_END |
#endif |