z80/inttypes.h: Add INT24_C and UINT24_C function macros

This commit is contained in:
Gustavo Henrique Nihei 2021-02-17 19:03:10 -03:00 committed by Xiang Xiao
parent 43a98662f3
commit 9fcca55ad6
4 changed files with 10 additions and 0 deletions

View File

@ -114,10 +114,12 @@
# define INT8_C(x) x
# define INT16_C(x) x
# define INT24_C(x) x
# define INT32_C(x) x ## l
# define UINT8_C(x) x
# define UINT16_C(x) x
# define UINT24_C(x) x
# define UINT32_C(x) x ## ul
#else
@ -190,10 +192,12 @@
# define INT8_C(x) x
# define INT16_C(x) x
# define INT24_C(x) x
# define INT32_C(x) x ## l
# define UINT8_C(x) x
# define UINT16_C(x) x
# define UINT24_C(x) x
# define UINT32_C(x) x ## ul
#endif

View File

@ -112,10 +112,12 @@
#define INT8_C(x) x
#define INT16_C(x) x
#define INT24_C(x) x
#define INT32_C(x) x ## l
#define UINT8_C(x) x
#define UINT16_C(x) x
#define UINT24_C(x) x
#define UINT32_C(x) x ## ul
#endif /* __ARCH_Z80_INCLUDE_Z180_INTTYPES_H */

View File

@ -112,10 +112,12 @@
#define INT8_C(x) x
#define INT16_C(x) x
#define INT24_C(x) x
#define INT32_C(x) x ## l
#define UINT8_C(x) x
#define UINT16_C(x) x
#define UINT24_C(x) x
#define UINT32_C(x) x ## ul
#endif /* __ARCH_Z80_INCLUDE_Z8_INTTYPES_H */

View File

@ -112,10 +112,12 @@
#define INT8_C(x) x
#define INT16_C(x) x
#define INT24_C(x) x
#define INT32_C(x) x ## l
#define UINT8_C(x) x
#define UINT16_C(x) x
#define UINT24_C(x) x
#define UINT32_C(x) x ## ul
#endif /* __ARCH_Z80_INCLUDE_Z80_INTTYPES_H */