aboutsummaryrefslogtreecommitdiffstats
path: root/package/uboot-ifxmips/files/lib_bootstrap/LzmaTypes.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-06-28 19:53:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-06-28 19:53:41 +0000
commit783bb0e81c700fb0b71420854ae1d7175adf666b (patch)
tree67f797884968d898c9873b3c3dc7facff9064351 /package/uboot-ifxmips/files/lib_bootstrap/LzmaTypes.h
parentf5bdb5432fef3a596c4b87ed45f0ec00a637a622 (diff)
downloadupstream-783bb0e81c700fb0b71420854ae1d7175adf666b.tar.gz
upstream-783bb0e81c700fb0b71420854ae1d7175adf666b.tar.bz2
upstream-783bb0e81c700fb0b71420854ae1d7175adf666b.zip
move ifxmips uboot to package/
SVN-Revision: 11601
Diffstat (limited to 'package/uboot-ifxmips/files/lib_bootstrap/LzmaTypes.h')
-rw-r--r--package/uboot-ifxmips/files/lib_bootstrap/LzmaTypes.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/package/uboot-ifxmips/files/lib_bootstrap/LzmaTypes.h b/package/uboot-ifxmips/files/lib_bootstrap/LzmaTypes.h
new file mode 100644
index 0000000000..288c5e45d7
--- /dev/null
+++ b/package/uboot-ifxmips/files/lib_bootstrap/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_SYSTEM_SIZE_T */
+/* Use system's size_t. You can use it to enable 64-bit sizes supporting */
+
+#ifndef _7ZIP_SIZET_DEFINED
+#define _7ZIP_SIZET_DEFINED
+#ifdef _LZMA_SYSTEM_SIZE_T
+#include <stddef.h>
+typedef size_t SizeT;
+#else
+typedef UInt32 SizeT;
+#endif
+#endif
+
+#endif