From 239b898d87944116a3dbb65271da39669eed4d13 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 25 Sep 2008 13:56:40 +0000 Subject: - disable gettext support in obstack. In function `print_and_abort': obstack.c:(.text.print_and_abort+0x1b): undefined reference to `__dcgettext' --- libc/misc/gnu/obstack.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libc') diff --git a/libc/misc/gnu/obstack.c b/libc/misc/gnu/obstack.c index 246d164cd..8ed3e8ac0 100644 --- a/libc/misc/gnu/obstack.c +++ b/libc/misc/gnu/obstack.c @@ -474,11 +474,11 @@ _obstack_memory_used ( /* Define the error handler. */ # ifndef _ -/* # if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC */ -# ifdef __UCLIBC_HAS_GETTEXT_AWARENESS__ +# if ((HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC) && \ + defined __UCLIBC_HAS_GETTEXT_AWARENESS__ && 00 # include # ifndef _ -# define _(Str) __dcgettext (NULL, Str, LC_MESSAGES) +# define _(Str) INTUSE(__dcgettext) (NULL, Str, LC_MESSAGES) # endif # else # define _(Str) (Str) -- cgit v1.2.3