mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Sun Nov 26 12:44:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* libc-symbols.h (N_): New macro.
This commit is contained in:
parent
cbd3dceb39
commit
f45e34fcae
@ -1,3 +1,7 @@
|
||||
Sun Nov 26 12:44:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
|
||||
|
||||
* libc-symbols.h (N_): New macro.
|
||||
|
||||
Sat Nov 25 02:48:47 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
|
||||
|
||||
* assert/assert-perr.c, assert/assert.c, inet/rcmd.c,
|
||||
|
@ -51,10 +51,15 @@ Cambridge, MA 02139, USA. */
|
||||
*/
|
||||
|
||||
#ifndef ASSEMBLER
|
||||
/* Define the macro `_' for conveniently marking translatable strings
|
||||
in the libc source code. */
|
||||
|
||||
/* Define the macros `_' and `N_' for conveniently marking translatable
|
||||
strings in the libc source code. */
|
||||
|
||||
#define N_(msgid) msgid
|
||||
|
||||
#include <libintl.h>
|
||||
extern const char _libc_intl_domainname[];
|
||||
|
||||
#ifdef dgettext
|
||||
/* This is defined as an optimizing macro, so use it. */
|
||||
#define _(msgid) dgettext (_libc_intl_domainname, (msgid))
|
||||
@ -63,6 +68,7 @@ extern const char _libc_intl_domainname[];
|
||||
instead of an optimizing macro. */
|
||||
#define _(msgid) __dgettext (_libc_intl_domainname, (msgid))
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user