mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
6fe77f347e
commit
9639c1f3e7
|
@ -13,11 +13,7 @@
|
|||
#define BROTLI_COMMON_TYPES_H_
|
||||
|
||||
//#include <stddef.h> /* for size_t */
|
||||
#ifndef _SIZE_T_DEFINED
|
||||
#if !defined(_WIN64) || defined(__GNUC__)
|
||||
typedef unsigned int size_t;
|
||||
#endif
|
||||
#endif
|
||||
typedef UINTN size_t;
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER < 1600)
|
||||
typedef __int8 int8_t;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue