[PATCH] libc++ locale: Disable cat*() on CloudABI. Also make tiny cleanups.

Joerg Sonnenberger joerg at britannica.bec.de
Mon Mar 9 05:56:09 PDT 2015


On Mon, Mar 09, 2015 at 11:17:03AM +0000, Ed Schouten wrote:
> Instead of adding yet another operating system name to the #ifs, introduce
> _LIPCPP_LOCALE_MESSAGE_CATALOGS in include/__config. Also adjust the
> code to only pull in nl_types.h when _LIPCPP_LOCALE_MESSAGE_CATALOGS
> is set. We only needed this header for the cat*() API.

Please rename it to _LIBCPP_HAS_*, I'd go with the shorter
_LIBCPP_HAS_CATOPEN.

Joerg



More information about the cfe-commits mailing list