svn commit: trunk/uClibc/libc/misc/gnu

aldot at uclibc.org aldot at uclibc.org
Thu Sep 25 13:56:40 UTC 2008


Author: aldot
Date: 2008-09-25 06:56:40 -0700 (Thu, 25 Sep 2008)
New Revision: 23502

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


Modified:
   trunk/uClibc/libc/misc/gnu/obstack.c


Changeset:
Modified: trunk/uClibc/libc/misc/gnu/obstack.c
===================================================================
--- trunk/uClibc/libc/misc/gnu/obstack.c	2008-09-25 13:55:14 UTC (rev 23501)
+++ trunk/uClibc/libc/misc/gnu/obstack.c	2008-09-25 13:56:40 UTC (rev 23502)
@@ -474,11 +474,11 @@
 
 /* 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)




More information about the uClibc-cvs mailing list