Mercurial > gnulib
changeset 39940:151fc19aed90
locale: Ease integration with GNU libintl.
* lib/locale.in.h (GNULIB_defined_newlocale, GNULIB_defined_duplocale,
GNULIB_defined_freelocale): New macros.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 22 Oct 2018 02:58:30 +0200 |
parents | 731ade0f3b50 |
children | 647230feebc0 |
files | ChangeLog lib/locale.in.h |
diffstat | 2 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Oct 22 02:49:56 2018 +0200 +++ b/ChangeLog Mon Oct 22 02:58:30 2018 +0200 @@ -1,3 +1,9 @@ +2018-10-21 Bruno Haible <bruno@clisp.org> + + locale: Ease integration with GNU libintl. + * lib/locale.in.h (GNULIB_defined_newlocale, GNULIB_defined_duplocale, + GNULIB_defined_freelocale): New macros. + 2018-10-21 Bruno Haible <bruno@clisp.org> localename: Fine-tune support for per-thread locales on Solaris 11.4.
--- a/lib/locale.in.h Mon Oct 22 02:49:56 2018 +0200 +++ b/lib/locale.in.h Mon Oct 22 02:58:30 2018 +0200 @@ -195,6 +195,7 @@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef newlocale # define newlocale rpl_newlocale +# define GNULIB_defined_newlocale 1 # endif _GL_FUNCDECL_RPL (newlocale, locale_t, (int category_mask, const char *name, locale_t base) @@ -222,6 +223,7 @@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef duplocale # define duplocale rpl_duplocale +# define GNULIB_defined_duplocale 1 # endif _GL_FUNCDECL_RPL (duplocale, locale_t, (locale_t locale) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (duplocale, locale_t, (locale_t locale)); @@ -246,6 +248,7 @@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef freelocale # define freelocale rpl_freelocale +# define GNULIB_defined_freelocale 1 # endif _GL_FUNCDECL_RPL (freelocale, void, (locale_t locale) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (freelocale, void, (locale_t locale));