From: Adhemerval Zanella Date: Fri, 17 Oct 2025 19:13:21 +0000 (-0300) Subject: Adjust stdint for clang-20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=047b0e08ac4c3c756068a3ba1257370dd5aa52bc;p=thirdparty%2Fglibc.git 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 --- diff --git a/stdlib/stdint.h b/stdlib/stdint.h index 3ec1bc4ad0..302230914c 100644 --- a/stdlib/stdint.h +++ b/stdlib/stdint.h @@ -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