[PATCH] D13557: Make locale code compile on Linux without GLIBC.

Jonathan Roelofs via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 8 09:28:27 PDT 2015


jroelofs added a subscriber: jroelofs.
jroelofs added a comment.

I don't think it's correct to say that `!defined(__GLIBC__) && defined(__linux__) ==> Musl` (nor is the converse true).  Unfortunately, Musl intentionally doesn't provide that sort of macro [1], so to provide support for Musl in libc++, we need to make note of it at configure-time via something like a _LIBCXX_LIBC_IS_MUSL macro via http://reviews.llvm.org/D13407.

1: http://www.openwall.com/lists/musl/2013/02/08/9


http://reviews.llvm.org/D13557





More information about the cfe-commits mailing list