]>
git.proxmox.com Git - mirror_edk2.git/blob - IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/UefiLzma.h
4 Allows LZMA code to build under UEFI (edk2) build environment
6 Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>
7 SPDX-License-Identifier: BSD-2-Clause-Patent
11 #ifndef __UEFILZMA_H__
12 #define __UEFILZMA_H__
15 #include <Library/BaseMemoryLib.h>
21 #ifndef _SIZE_T_DEFINED
22 #if !defined(_WIN64) || defined(__GNUC__)
23 typedef unsigned int size_t;
31 #ifndef _PTRDIFF_T_DEFINED
32 typedef int ptrdiff_t;
35 #define memcpy CopyMem
36 #define memmove CopyMem
38 #define _LZMA_SIZE_OPT
40 #endif // __UEFILZMA_H__