/** @file\r
- LZMA UEFI Library header file\r
+ LZMA UEFI header file\r
\r
Allows LZMA code to build under UEFI (edk2) build environment\r
\r
- Copyright (c) 2009, Intel Corporation<BR>\r
- All rights reserved. This program and the accompanying materials\r
+ Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>\r
+ This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
http://opensource.org/licenses/bsd-license.php\r
#undef _WIN32\r
#endif\r
\r
+#ifndef _SIZE_T_DEFINED\r
#if !defined(_WIN64) || defined(__GNUC__)\r
typedef unsigned int size_t;\r
#endif\r
+#endif\r
\r
#ifdef _WIN64\r
#undef _WIN64\r
#endif\r
\r
+#ifndef _PTRDIFF_T_DEFINED\r
typedef int ptrdiff_t;\r
+#endif\r
\r
#define memcpy CopyMem\r
#define memmove CopyMem\r
\r
+#define _LZMA_SIZE_OPT\r
+\r
#endif // __UEFILZMA_H__\r
\r