From 50660812be5588036a14fc85af16bccef68fac02 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Sun, 24 Aug 2003 03:49:13 +0000 Subject: Fix a few bugs in the new extended locale functions. Move stub gettext functions to a stub libintl to make switching in gnu gettext easier. Also add a few gnu-isms. Change to using hidden names with global weak aliases for the extended locale functions, as expected by libstd++. Slightly rework the locale data generation stuff to allow pregenerated locale data to be used with buildroot. --- libc/misc/gnu/obstack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/misc/gnu') diff --git a/libc/misc/gnu/obstack.c b/libc/misc/gnu/obstack.c index 87b294c25..a3f7f3f45 100644 --- a/libc/misc/gnu/obstack.c +++ b/libc/misc/gnu/obstack.c @@ -466,7 +466,7 @@ _obstack_memory_used (h) # if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC # include # ifndef _ -# define _(Str) gettext (Str) +# define _(Str) __dcgettext (NULL, Str, LC_MESSAGES) # endif # else # define _(Str) (Str) -- cgit v1.2.3