[libcxx-commits] [libcxx] [libc++] Guard additional headers with _LIBCPP_HAS_LOCALIZATION (PR #131921)
Dominik Wójt via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Mar 25 13:44:04 PDT 2025
dominik-wojt-2311446 wrote:
Hi, indeed, I am no longer maintaining the picolibc tests.
This error reminds me of https://github.com/llvm/llvm-project/pull/74072
Maybe `_NEWLIB_VERSION` is not defined in some context where `libcxx/include/__fwd/ios.h` is included. (just a guess)
```
#if defined(_NEWLIB_VERSION)
// On newlib, off_t is 'long int'
using streamoff = long int; // for char_traits in <string>
#else
using streamoff = long long; // for char_traits in <string>
#endif
```
https://github.com/llvm/llvm-project/pull/131921
More information about the libcxx-commits
mailing list