You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/11/19 08:50:16 UTC

[incubator-nuttx] 11/34: risc-v: Add _intmax_t and _uintmax_t

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit cce626b545eda95d7b7bacf52193c3c0389dc152
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Wed Nov 18 13:55:48 2020 +0900

    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 1098405..c9d2060 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 */