1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-15 11:05:56 +00:00

Add stdint.h constants INT32_MIN and UINT32_MAX

These were missing before
This commit is contained in:
Jesse Rosenstock 2020-11-02 09:03:06 +01:00 committed by Oliver Schmidt
parent 0e482c7f92
commit 65193c6aaf

View File

@ -64,9 +64,11 @@ typedef size_t uintmax_t;
#define INT8_MIN (-INT8_MAX - 1)
#define INT16_MIN (-INT16_MAX - 1)
#define INT32_MIN (-INT32_MAX - 1)
#define UINT8_MAX (0xFF)
#define UINT16_MAX (0xFFFF)
#define UINT32_MAX (0xFFFFFFFF)
#endif