File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,10 @@ typedef uint64_t uintmax_t;
96
96
#define UINT_FAST32_MAX SIZE_MAX
97
97
#define UINT_FAST64_MAX UINT64_MAX
98
98
99
+ #define INTMAX_MIN INT64_MIN
100
+ #define INTMAX_MAX INT64_MAX
101
+ #define UINTMAX_MAX UINT64_MAX
102
+
99
103
#ifndef INT_MIN
100
104
#define INT_MIN (-__INT_MAX__ - 1)
101
105
#endif
@@ -110,4 +114,19 @@ typedef uint64_t uintmax_t;
110
114
#define LONG_MAX __LONG_MAX__
111
115
#endif
112
116
117
+ #ifndef ULONG_MAX
118
+ #define ULONG_MAX ((unsigned long)(__LONG_MAX__) * 2 + 1)
119
+ #endif
120
+
121
+ #ifndef LLONG_MIN
122
+ #define LLONG_MIN (-__LONG_LONG_MAX__ - 1)
123
+ #endif
124
+ #ifndef LLONG_MAX
125
+ #define LLONG_MAX __LONG_LONG_MAX__
126
+ #endif
127
+
128
+ #ifndef ULLONG_MAX
129
+ #define ULLONG_MAX ((unsigned long long)(__LONG_LONG_MAX__) * 2 + 1)
130
+ #endif
131
+
113
132
#endif /* _NOLIBC_STDINT_H */
You can’t perform that action at this time.
0 commit comments