[clang] [clang][mlibc] Predefine `__mlibc__` for mlibc targets (PR #225654)

via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 24 04:07:34 PDT 2026


lzcunt wrote:

Actually, about `__gnu_linux__`, why is that defined on all libcs including musl, mlibc, llvmlibc and uclibc? gcc doesn't do that. gcc only defines it for glibc targets

https://github.com/llvm/llvm-project/pull/225654


More information about the cfe-commits mailing list