mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +08:00
include/stdint.h: Use _uintmax_t and _intmax_t from arch types.h
As we do for other intXX_t types.
This commit is contained in:
committed by
Xiang Xiao
parent
4d2727c193
commit
c10a8dc73b
+2
-7
@@ -300,13 +300,8 @@ typedef _uint_farptr_t uint_farptr_t;
|
|||||||
|
|
||||||
/* Greatest-width integer types */
|
/* Greatest-width integer types */
|
||||||
|
|
||||||
#ifdef __INT64_DEFINED
|
typedef _intmax_t intmax_t;
|
||||||
typedef _int64_t intmax_t;
|
typedef _uintmax_t uintmax_t;
|
||||||
typedef _uint64_t uintmax_t;
|
|
||||||
#else
|
|
||||||
typedef _int32_t intmax_t;
|
|
||||||
typedef _uint32_t uintmax_t;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* CONFIG_ARCH_STDINT_H */
|
#endif /* CONFIG_ARCH_STDINT_H */
|
||||||
#endif /* __INCLUDE_STDINT_H */
|
#endif /* __INCLUDE_STDINT_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user