From f45e34fcaea4f89dc44491a8ff254e24812f95c6 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 26 Nov 1995 17:45:08 +0000 Subject: Sun Nov 26 12:44:38 1995 Roland McGrath * libc-symbols.h (N_): New macro. --- libc-symbols.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'libc-symbols.h') diff --git a/libc-symbols.h b/libc-symbols.h index c895fe4d36..9d6c2f8f34 100644 --- a/libc-symbols.h +++ b/libc-symbols.h @@ -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 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 /* -- cgit 1.4.1