On Wed, 31 Jan 2024 at 09:38, Iain Sandoe wrote: > > Hi Jonathan, > > > On 30 Jan 2024, at 15:02, Jonathan Wakely <jwak...@redhat.com> wrote: > > > > This should fix the std/text_encoding/* FAILs that Iain sees on darwin. > > I assume it will make it work for FreeBSD too. > > > > I won't push this until I hear it works for at least one of those. > > It works on x86_64-darwin{19,21,23} and on a cross to powerpc-darwin9. > The header is present on all versions we currently support (although I did > not yet > test more widely than noted above). > > As discussed on IRC, Darwin is qualified to Posix 2003 (and does not, > generally, > have all the optional parts), so we do not expect the symbols to be present in > locale.h (even with some _XOPEN_SOURCE= value).
OK, thanks for the checks. I've pushed it now.