288c5e45d7b62af14828dd53d1e6f00bc1630d2d
[openwrt/svn-archive/archive.git] / package / uboot-ifxmips / files / include / LzmaTypes.h
1 /*
2 LzmaTypes.h
3
4 Types for LZMA Decoder
5
6 This file written and distributed to public domain by Igor Pavlov.
7 This file is part of LZMA SDK 4.40 (2006-05-01)
8 */
9
10 #ifndef __LZMATYPES_H
11 #define __LZMATYPES_H
12
13 #ifndef _7ZIP_BYTE_DEFINED
14 #define _7ZIP_BYTE_DEFINED
15 typedef unsigned char Byte;
16 #endif
17
18 #ifndef _7ZIP_UINT16_DEFINED
19 #define _7ZIP_UINT16_DEFINED
20 typedef unsigned short UInt16;
21 #endif
22
23 #ifndef _7ZIP_UINT32_DEFINED
24 #define _7ZIP_UINT32_DEFINED
25 #ifdef _LZMA_UINT32_IS_ULONG
26 typedef unsigned long UInt32;
27 #else
28 typedef unsigned int UInt32;
29 #endif
30 #endif
31
32 /* #define _LZMA_SYSTEM_SIZE_T */
33 /* Use system's size_t. You can use it to enable 64-bit sizes supporting */
34
35 #ifndef _7ZIP_SIZET_DEFINED
36 #define _7ZIP_SIZET_DEFINED
37 #ifdef _LZMA_SYSTEM_SIZE_T
38 #include <stddef.h>
39 typedef size_t SizeT;
40 #else
41 typedef UInt32 SizeT;
42 #endif
43 #endif
44
45 #endif