diff options
| author | Stefano Babic <sbabic@denx.de> | 2012-12-08 12:02:45 +0100 | 
|---|---|---|
| committer | Stefano Babic <sbabic@denx.de> | 2012-12-08 12:02:45 +0100 | 
| commit | 05a860c228fe6c8f2e7aced8cc8ef88bc1038363 (patch) | |
| tree | 764536da9202b9de387a0d957829f64dfba818b7 /lib/lzma/Types.h | |
| parent | 393ff47ba3123208f7c4f08d63f114300a41d0c4 (diff) | |
| parent | fd4d564b3c80b111f18c93adb14233a6a7ddb0e9 (diff) | |
| download | olio-uboot-2014.01-05a860c228fe6c8f2e7aced8cc8ef88bc1038363.tar.xz olio-uboot-2014.01-05a860c228fe6c8f2e7aced8cc8ef88bc1038363.zip | |
Merge branch 'master' of git://git.denx.de/u-boot into master
Conflicts:
	drivers/power/power_fsl.c
	include/configs/mx35pdk.h
	include/configs/mx53loco.h
	include/configs/woodburn_common.h
	board/woodburn/woodburn.c
These boards still use the old old PMIC framework, so they
do not merge properly after the power framework was merged into
mainline.
Fix all conflicts and update woodburn to use Power Framework.
Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'lib/lzma/Types.h')
| -rw-r--r-- | lib/lzma/Types.h | 36 | 
1 files changed, 31 insertions, 5 deletions
| diff --git a/lib/lzma/Types.h b/lib/lzma/Types.h index 1af5cfc4d..8afcba556 100644 --- a/lib/lzma/Types.h +++ b/lib/lzma/Types.h @@ -1,5 +1,5 @@  /* Types.h -- Basic types -2008-11-23 : Igor Pavlov : Public domain */ +2010-10-09 : Igor Pavlov : Public domain */  #ifndef __7Z_TYPES_H  #define __7Z_TYPES_H @@ -65,9 +65,11 @@ typedef unsigned long UInt64;  #if defined(_MSC_VER) || defined(__BORLANDC__)  typedef __int64 Int64;  typedef unsigned __int64 UInt64; +#define UINT64_CONST(n) n  #else  typedef long long int Int64;  typedef unsigned long long int UInt64; +#define UINT64_CONST(n) n ## ULL  #endif  #endif @@ -92,13 +94,11 @@ typedef int Bool;  #endif  #define MY_CDECL __cdecl -#define MY_STD_CALL __stdcall -#define MY_FAST_CALL MY_NO_INLINE __fastcall +#define MY_FAST_CALL __fastcall  #else  #define MY_CDECL -#define MY_STD_CALL  #define MY_FAST_CALL  #endif @@ -108,6 +108,16 @@ typedef int Bool;  typedef struct  { +  Byte (*Read)(void *p); /* reads one byte, returns 0 in case of EOF or error */ +} IByteIn; + +typedef struct +{ +  void (*Write)(void *p, Byte b); +} IByteOut; + +typedef struct +{    SRes (*Read)(void *p, void *buf, size_t *size);      /* if (input(*size) != 0 && output(*size) == 0) means end_of_stream.         (output(*size) < input(*size)) is allowed */ @@ -140,7 +150,7 @@ typedef struct  typedef struct  { -  SRes (*Look)(void *p, void **buf, size_t *size); +  SRes (*Look)(void *p, const void **buf, size_t *size);      /* if (input(*size) != 0 && output(*size) == 0) means end_of_stream.         (output(*size) > input(*size)) is not allowed         (output(*size) < input(*size)) is allowed */ @@ -205,4 +215,20 @@ typedef struct  #define IAlloc_Alloc(p, size) (p)->Alloc((p), size)  #define IAlloc_Free(p, a) (p)->Free((p), a) +#ifdef _WIN32 + +#define CHAR_PATH_SEPARATOR '\\' +#define WCHAR_PATH_SEPARATOR L'\\' +#define STRING_PATH_SEPARATOR "\\" +#define WSTRING_PATH_SEPARATOR L"\\" + +#else + +#define CHAR_PATH_SEPARATOR '/' +#define WCHAR_PATH_SEPARATOR L'/' +#define STRING_PATH_SEPARATOR "/" +#define WSTRING_PATH_SEPARATOR L"/" + +#endif +  #endif |