From cce626b545eda95d7b7bacf52193c3c0389dc152 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Wed, 18 Nov 2020 13:55:48 +0900 Subject: [PATCH] risc-v: Add _intmax_t and _uintmax_t --- arch/risc-v/include/types.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/risc-v/include/types.h b/arch/risc-v/include/types.h index 10984051d57..c9d2060294f 100644 --- a/arch/risc-v/include/types.h +++ b/arch/risc-v/include/types.h @@ -84,6 +84,9 @@ typedef unsigned long long _uint64_t; #endif /* __LP64__ */ #define __INT64_DEFINED +typedef _int64_t _intmax_t; +typedef _uint64_t _uintmax_t; + #ifdef __LP64__ /* A size is 8 bytes */