diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2007-12-14 20:35:22 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2007-12-14 20:35:22 +0000 |
commit | a9fa8faa4c975f22dbbf375de2f10b7f1b88ba86 (patch) | |
tree | e454253a845bc547637d727581a5fb333d038965 /target/linux/adm5120/image/lzma-loader/src/LzmaTypes.h | |
parent | 279f3719bff2ed67da9afd87894eac78587025f1 (diff) | |
download | mtk-20170518-a9fa8faa4c975f22dbbf375de2f10b7f1b88ba86.zip mtk-20170518-a9fa8faa4c975f22dbbf375de2f10b7f1b88ba86.tar.gz mtk-20170518-a9fa8faa4c975f22dbbf375de2f10b7f1b88ba86.tar.bz2 |
update LZMA code
SVN-Revision: 9756
Diffstat (limited to 'target/linux/adm5120/image/lzma-loader/src/LzmaTypes.h')
-rw-r--r-- | target/linux/adm5120/image/lzma-loader/src/LzmaTypes.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/target/linux/adm5120/image/lzma-loader/src/LzmaTypes.h b/target/linux/adm5120/image/lzma-loader/src/LzmaTypes.h new file mode 100644 index 0000000..9c27290 --- /dev/null +++ b/target/linux/adm5120/image/lzma-loader/src/LzmaTypes.h @@ -0,0 +1,45 @@ +/* +LzmaTypes.h + +Types for LZMA Decoder + +This file written and distributed to public domain by Igor Pavlov. +This file is part of LZMA SDK 4.40 (2006-05-01) +*/ + +#ifndef __LZMATYPES_H +#define __LZMATYPES_H + +#ifndef _7ZIP_BYTE_DEFINED +#define _7ZIP_BYTE_DEFINED +typedef unsigned char Byte; +#endif + +#ifndef _7ZIP_UINT16_DEFINED +#define _7ZIP_UINT16_DEFINED +typedef unsigned short UInt16; +#endif + +#ifndef _7ZIP_UINT32_DEFINED +#define _7ZIP_UINT32_DEFINED +#ifdef _LZMA_UINT32_IS_ULONG +typedef unsigned long UInt32; +#else +typedef unsigned int UInt32; +#endif +#endif + +/* #define _LZMA_NO_SYSTEM_SIZE_T */ +/* You can use it, if you don't want <stddef.h> */ + +#ifndef _7ZIP_SIZET_DEFINED +#define _7ZIP_SIZET_DEFINED +#ifdef _LZMA_NO_SYSTEM_SIZE_T +typedef UInt32 SizeT; +#else +#include <stddef.h> +typedef size_t SizeT; +#endif +#endif + +#endif |