From: H.J. Lu Date: Fri, 22 Aug 2025 22:31:23 +0000 (-0700) Subject: Undef __INT64_C/__UINT64_C for glibc build and test X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dd7122c0578bec13f4204e6236c194e5a7f35801;p=thirdparty%2Fglibc.git Undef __INT64_C/__UINT64_C for glibc build and test Since clang 20 defines __INT64_C and __UINT64_C as built-in macros, undef them for glibc build and test. This fixes BZ #33311. Signed-off-by: H.J. Lu Reviewed-by: Collin Funk --- diff --git a/include/stdint.h b/include/stdint.h index 7f428741d7..8db6187c49 100644 --- a/include/stdint.h +++ b/include/stdint.h @@ -1 +1,6 @@ +#ifndef _STDINT_H +/* NB: Clang 20 defines them as built-in macros. */ +#undef __INT64_C +#undef __UINT64_C #include +#endif