]>
git.proxmox.com Git - mirror_edk2.git/blob - IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/UefiLzma.h
2 LZMA UEFI Library header file
4 Allows LZMA code to build under UEFI (edk2) build environment
6 Copyright (c) 2009, Intel Corporation<BR>
7 All rights reserved. This program and the accompanying materials
8 are licensed and made available under the terms and conditions of the BSD License
9 which accompanies this distribution. The full text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 #ifndef __UEFILZMA_H__
18 #define __UEFILZMA_H__
21 #include <Library/BaseMemoryLib.h>
27 #if !defined(_WIN64) || defined(__GNUC__)
28 typedef unsigned int size_t;
35 typedef int ptrdiff_t;
37 #define memcpy CopyMem
38 #define memmove CopyMem
40 #define _LZMA_SIZE_OPT
42 #endif // __UEFILZMA_H__