]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/UefiLzma.h
Reviewed the code comments in the Include/Protocol directory for typos, grammar issue...
[mirror_edk2.git] / IntelFrameworkModulePkg / Library / LzmaCustomDecompressLib / UefiLzma.h
CommitLineData
306bf4e2 1/** @file\r
2 LZMA UEFI Library header file\r
3\r
4 Allows LZMA code to build under UEFI (edk2) build environment\r
5\r
6 Copyright (c) 2009, Intel Corporation<BR>\r
7 All rights reserved. This program and the accompanying materials\r
8 are licensed and made available under the terms and conditions of the BSD License\r
9 which accompanies this distribution. The full text of the license may be found at\r
10 http://opensource.org/licenses/bsd-license.php\r
11\r
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14\r
15**/\r
16\r
17#ifndef __UEFILZMA_H__\r
18#define __UEFILZMA_H__\r
19\r
20#include <Uefi.h>\r
21#include <Library/BaseMemoryLib.h>\r
22\r
23#ifdef _WIN32\r
24#undef _WIN32\r
25#endif\r
26\r
27#if !defined(_WIN64) || defined(__GNUC__)\r
28typedef unsigned int size_t;\r
29#endif\r
30\r
31#ifdef _WIN64\r
32#undef _WIN64\r
33#endif\r
34\r
35typedef int ptrdiff_t;\r
36\r
37#define memcpy CopyMem\r
38#define memmove CopyMem\r
39\r
19a4a0a0 40#define _LZMA_SIZE_OPT\r
41\r
306bf4e2 42#endif // __UEFILZMA_H__\r
43\r