]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Sun Nov 26 12:44:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
authorRoland McGrath <roland@gnu.org>
Sun, 26 Nov 1995 17:45:08 +0000 (17:45 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 26 Nov 1995 17:45:08 +0000 (17:45 +0000)
* libc-symbols.h (N_): New macro.

ChangeLog
libc-symbols.h

index 2d3606f30776a9bc14ae822b4b42395f564485e3..a53bd88d7f8b6f35025271bd2ece69a2c09d958c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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,
index c895fe4d36e0f13091597da80f0700c15c535d68..9d6c2f8f3459c555204b096569df174e6d46b0e8 100644 (file)
@@ -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
 
 /*