Explorar o código

- disable gettext support in obstack.
In function `print_and_abort':
obstack.c:(.text.print_and_abort+0x1b): undefined reference to `__dcgettext'

Bernhard Reutner-Fischer %!s(int64=17) %!d(string=hai) anos
pai
achega
239b898d87
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      libc/misc/gnu/obstack.c

+ 3 - 3
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)