1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00

Adjust stdint for clang-20

clang 20 adds both __INT64_C and __UINT64_C as builtins, but different
than gcc it does not undef them in its stdint wrapper.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
This commit is contained in:
Adhemerval Zanella
2025-10-17 16:13:21 -03:00
parent 111f2367f4
commit 047b0e08ac

View File

@@ -91,6 +91,8 @@ typedef __intmax_t intmax_t;
typedef __uintmax_t uintmax_t;
# undef __INT64_C
# undef __UINT64_C
# if __WORDSIZE == 64
# define __INT64_C(c) c ## L
# define __UINT64_C(c) c ## UL