File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 42
42
#ifdef CONFIG_MINIMAL_LIBC
43
43
44
44
/*
45
- * Predefined __INTN_C/__UINTN_C macros are provided by clang starting in version 20.
45
+ * Predefined __INTN_C/__UINTN_C macros are provided by clang starting in version 20.1.
46
46
* Avoid redefining these macros if a sufficiently modern clang is being used.
47
47
*/
48
- #if __clang_major__ < 20
48
+ #if TOOLCHAIN_CLANG_VERSION < 200100
49
49
50
50
#define __int_c (v , suffix ) v ## suffix
51
51
#define int_c (v , suffix ) __int_c(v, suffix)
138
138
#define __INTMAX_C (x ) int_c(x, __INTMAX_C_SUFFIX__)
139
139
#define __UINTMAX_C (x ) int_c(x, __UINTMAX_C_SUFFIX__)
140
140
141
- #endif /* __clang_major__ < 20 */
141
+ #endif /* TOOLCHAIN_CLANG_VERSION < 200100 */
142
142
143
143
#endif /* CONFIG_MINIMAL_LIBC */
144
144
You can’t perform that action at this time.
0 commit comments