summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Library/LzmaCustomDecompressLib
diff options
context:
space:
mode:
authorZhiguang Liu <zhiguang.liu@intel.com>2019-11-12 16:47:44 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2019-11-15 02:06:12 +0000
commit9639c1f3e7f4f0d2df4072a60f754a9c43f2d784 (patch)
tree4db94e7095217484979ba3d2ede96aaf10982035 /MdeModulePkg/Library/LzmaCustomDecompressLib
parent6fe77f347ed820c5924f2ac6ddc43aa869cdbd5e (diff)
downloadedk2-9639c1f3e7f4f0d2df4072a60f754a9c43f2d784.tar.gz
edk2-9639c1f3e7f4f0d2df4072a60f754a9c43f2d784.tar.bz2
edk2-9639c1f3e7f4f0d2df4072a60f754a9c43f2d784.zip
MdeModulePkg: Unify the definitions of size_t
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2338 Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/LzmaCustomDecompressLib')
-rw-r--r--MdeModulePkg/Library/LzmaCustomDecompressLib/UefiLzma.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/MdeModulePkg/Library/LzmaCustomDecompressLib/UefiLzma.h b/MdeModulePkg/Library/LzmaCustomDecompressLib/UefiLzma.h
index cbdecd377b..e1315b6ec3 100644
--- a/MdeModulePkg/Library/LzmaCustomDecompressLib/UefiLzma.h
+++ b/MdeModulePkg/Library/LzmaCustomDecompressLib/UefiLzma.h
@@ -18,11 +18,7 @@
#undef _WIN32
#endif
-#ifndef _SIZE_T_DEFINED
-#if !defined(_WIN64) || defined(__GNUC__)
-typedef unsigned int size_t;
-#endif
-#endif
+typedef UINTN size_t;
#ifdef _WIN64
#undef _WIN64