cog/Frameworks/File_Extractor/File_Extractor/7z_C/LzmaTypes.h

43 lines
785 B
C

/*
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
#define _LZMA_IN_CB 1
#define _LZMA_LOC_OPT 1
#include <limits.h>
#if ULONG_MAX == 0xFFFFFFFF
#define _LZMA_UINT32_IS_ULONG
#endif
#ifndef Byte
typedef unsigned char Byte;
typedef unsigned short UInt16;
#ifdef _LZMA_UINT32_IS_ULONG
typedef unsigned long UInt32;
#else
typedef unsigned int UInt32;
#endif
#endif
/* #define _LZMA_SYSTEM_SIZE_T */
/* Use system's size_t. You can use it to enable 64-bit sizes supporting */
#ifdef _LZMA_SYSTEM_SIZE_T
#include <stddef.h>
typedef size_t SizeT;
#else
typedef UInt32 SizeT;
#endif
#endif