summaryrefslogtreecommitdiffstats
path: root/third_party/lzma_sdk/LzmaDec.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/lzma_sdk/LzmaDec.h')
-rw-r--r--third_party/lzma_sdk/LzmaDec.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/third_party/lzma_sdk/LzmaDec.h b/third_party/lzma_sdk/LzmaDec.h
index bf7f084..cc44dae 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