From b3a59f408e7462fbd77289e8c3f50606044a585a Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 17 Oct 1995 05:49:48 +0000 Subject: Tue Oct 17 01:21:21 1995 Roland McGrath * stdio-common/psignal.c: Translate signal description strings. * string/strsignal.c: Likewise. * sysdeps/generic/_strerror.c (_strerror_internal): Translate error strings. * sysdeps/mach/_strerror.c: Likewise. * stdio-common/snprintf.c (__snprintf): Renamed from snprintf; call __vsnprintf. (snprintf): Define as weak alias. * stdio/vsnprintf.c (__vsnprintf): Renamed from vsnprintf. (vsnprintf): Define as weak alias. * libc-symbols.h [! ASSEMBLER] (_): New macro. --- libc-symbols.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'libc-symbols.h') diff --git a/libc-symbols.h b/libc-symbols.h index 7997c8d0de..50631d164a 100644 --- a/libc-symbols.h +++ b/libc-symbols.h @@ -48,10 +48,11 @@ Cambridge, MA 02139, USA. */ #define _LIBC 1 /* +*/ - Define the macro `_' for conveniently marking translatable strings - in the libc source code. */ - +#ifndef ASSEMBLER +/* Define the macro `_' for conveniently marking translatable strings + in the libc source code. */ #include extern const char _libc_intl_domainname[]; #ifdef dgettext @@ -62,6 +63,7 @@ extern const char _libc_intl_domainname[]; instead of an optimizing macro. */ #define _(msgid) __dgettext (_libc_intl_domainname, (msgid)) #endif +#endif /* -- cgit v1.2.1