]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make strfmon_l() work without requiring the use of <xlocale.h>.
authored <ed@FreeBSD.org>
Tue, 31 May 2016 12:29:21 +0000 (12:29 +0000)
committered <ed@FreeBSD.org>
Tue, 31 May 2016 12:29:21 +0000 (12:29 +0000)
commit968b0346dded50130f7a3fe8864178baf0f0cef8
treec9c303cc55256bd44dd7e8b82281b19cf3a6e891
parentb429ebef482139e9294958a13d2934d2af169043
Make strfmon_l() work without requiring the use of <xlocale.h>.

The strfmon_l() function provided by <xlocale/_monetary.h> is also part
of POSIX 2008's <monetary.h>, so it should be exposed by default.

Change the check used in <monetary.h> to be similar to the one that's
part of <wchar.h>, where we both test for __POSIX_VISIBLE and
_XLOCALE_H_.
include/monetary.h