[libcxx-commits] [libcxx] [libc++] Skip including langinfo.h on Android (PR #223749)

William Tran-Viet via libcxx-commits libcxx-commits at lists.llvm.org
Tue Sep 15 09:56:34 PDT 2026


smallp-o-p wrote:

`__get_locale_encoding()` is only used when compiling the shared library, so we could move the `<langinfo.h>` include next to it, inside the `__LIBCPP_BUILDING_LIBRARY` block, although it goes against our style guides.

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


More information about the libcxx-commits mailing list