source: trunk/package/uboot-ifxmips/files/include/LzmaTypes.h @ 13291

Last change on this file since 13291 was 13291, checked in by thl, 7 years ago

[ifxmips] cleanup uboot package

File size: 849 bytes
Line 
1/*
2LzmaTypes.h
3
4Types for LZMA Decoder
5
6This file written and distributed to public domain by Igor Pavlov.
7This 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
15typedef unsigned char Byte;
16#endif
17
18#ifndef _7ZIP_UINT16_DEFINED
19#define _7ZIP_UINT16_DEFINED
20typedef unsigned short UInt16;
21#endif
22
23#ifndef _7ZIP_UINT32_DEFINED
24#define _7ZIP_UINT32_DEFINED
25#ifdef _LZMA_UINT32_IS_ULONG
26typedef unsigned long UInt32;
27#else
28typedef 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>
39typedef size_t SizeT;
40#else
41typedef UInt32 SizeT;
42#endif
43#endif
44
45#endif
Note: See TracBrowser for help on using the repository browser.