Skip to content
Snippets Groups Projects
Commit 9bf91fa3 authored by Jonathan Wakely's avatar Jonathan Wakely
Browse files

libstdc++: Enable std::text_encoding for darwin and FreeBSD


The <xlocale.h> header is needed for newlocale and locale_t on these
targets.

libstdc++-v3/ChangeLog:

	* acinclude.m4 (GLIBCXX_CHECK_TEXT_ENCODING): Use <xlocale.h> if
	needed for newlocale.
	* configure: Regenerate.
	* src/c++26/text_encoding.cc: Use <xlocale.h>.

Reviewed-by: default avatarIain Sandoe <iain@sandoe.co.uk>
parent 358fd42a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment