diff options
Diffstat (limited to 'builtin/stdint.h')
-rw-r--r-- | builtin/stdint.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/builtin/stdint.h b/builtin/stdint.h index 87993d8e2d..f47c9e6422 100644 --- a/builtin/stdint.h +++ b/builtin/stdint.h @@ -67,6 +67,9 @@ typedef int64_t int_fast64_t; #ifndef INT32_MAX #define INT32_MAX (2147483647U) #endif +#ifndef INT32_MIN +#define INT32_MIN (-2147483648) +#endif #ifndef UINT64_C #define UINT64_C(c) c##ULL @@ -81,5 +84,8 @@ typedef int64_t int_fast64_t; #ifndef INT64_MAX #define INT64_MAX INT64_C(9223372036854775807) #endif +#ifndef INT64_MIN +#define INT64_MIN (INT64_C(-9223372036854775807) - 1) +#endif #endif /* __CROS_EC_STDINT_H__ */ |