mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
Tue Oct 17 01:21:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* 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.
This commit is contained in:
@ -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 <libintl.h>
|
||||
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
|
||||
|
||||
/*
|
||||
|
||||
|
Reference in New Issue
Block a user