[PATCH 09/11] add predefined macros for [u]int{8,16}_t

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



All LP64 & LP32 use [u]char and [u]short for these ones.
---
 lib.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib.c b/lib.c
index 4cf769b1d..27c90aeca 100644
--- a/lib.c
+++ b/lib.c
@@ -1258,6 +1258,11 @@ static void predefined_macros(void)
 	predefined_ctype("LONG",       &long_ctype, PTYPE_ALL);
 	predefined_ctype("LONG_LONG", &llong_ctype, PTYPE_ALL);
 
+	predefined_ctype("INT8",   &uchar_ctype,  PTYPE_TYPE|PTYPE_MAX);
+	predefined_ctype("UINT8",  &schar_ctype,  PTYPE_TYPE|PTYPE_MAX);
+	predefined_ctype("INT16",  &short_ctype,  PTYPE_TYPE|PTYPE_MAX);
+	predefined_ctype("UINT16", &ushort_ctype, PTYPE_TYPE|PTYPE_MAX);
+
 	predefined_sizeof("INT128", "", 128);
 
 	predefined_ctype("SIZE", size_t_ctype, PTYPE_ALL|PTYPE_T|PTYPE_TYPE);
-- 
2.19.0




[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux