diff options
Diffstat (limited to 'builtin/stdint.h')
-rw-r--r-- | builtin/stdint.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/builtin/stdint.h b/builtin/stdint.h index f80a46f1a5..b82268b409 100644 --- a/builtin/stdint.h +++ b/builtin/stdint.h @@ -23,6 +23,13 @@ typedef unsigned int uintptr_t; typedef uint8_t uint_least8_t; +#ifndef UINT8_MAX +#define UINT8_MAX (255U) +#endif +#ifndef INT8_MAX +#define INT8_MAX (127U) +#endif + #ifndef UINT16_MAX #define UINT16_MAX (65535U) #endif |