================ @@ -21,6 +21,11 @@ using namespace LIBC_NAMESPACE; +// Workaround for missing __has_builtin in < GCC 10. +#ifndef __has_builtin +#define __has_builtin 0 +#endif + ---------------- marcauberer wrote: Done. https://github.com/llvm/llvm-project/pull/86554