summaryrefslogtreecommitdiff
path: root/libc/misc/gnu/obstack.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-25 13:56:40 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-25 13:56:40 +0000
commit239b898d87944116a3dbb65271da39669eed4d13 (patch)
tree46e6b8f787467f6d005ed69535fabf49ea729968 /libc/misc/gnu/obstack.c
parent73decb0e8def8bdba9f6bf5dd9c8841083d97227 (diff)
- disable gettext support in obstack.
In function `print_and_abort': obstack.c:(.text.print_and_abort+0x1b): undefined reference to `__dcgettext'
Diffstat (limited to 'libc/misc/gnu/obstack.c')
-rw-r--r--libc/misc/gnu/obstack.c6
1 files changed, 3 insertions, 3 deletions
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 <libintl.h>
# ifndef _
-# define _(Str) __dcgettext (NULL, Str, LC_MESSAGES)
+# define _(Str) INTUSE(__dcgettext) (NULL, Str, LC_MESSAGES)
# endif
# else
# define _(Str) (Str)