z80/inttypes.h: Add INT24_C and UINT24_C function macros
This commit is contained in:
parent
43a98662f3
commit
9fcca55ad6
@ -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
|
||||
|
||||
|
@ -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 */
|
||||
|
@ -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 */
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user