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:25 UTC

[incubator-nuttx] 20/34: or1k: 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 5995cfc2ce37f5af52c81013fb051fc6f9dccdf9
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Wed Nov 18 13:52:17 2020 +0900

    or1k: Add _intmax_t and _uintmax_t
---
 arch/or1k/include/types.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/or1k/include/types.h b/arch/or1k/include/types.h
index 43de7d4..0e7c4a3 100644
--- a/arch/or1k/include/types.h
+++ b/arch/or1k/include/types.h
@@ -79,6 +79,9 @@ typedef unsigned long long _uint64_t;
 
 #define __INT64_DEFINED    1
 
+typedef _int64_t           _intmax_t;
+typedef _uint64_t          _uintmax_t;
+
 /* A size is 4 bytes */
 
 #if defined(__SIZE_TYPE__)