about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libintl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/libintl.h b/include/libintl.h
index a772853c02..40342e90c4 100644
--- a/include/libintl.h
+++ b/include/libintl.h
@@ -9,10 +9,13 @@ extern char *__bindtextdomain __P ((__const char *__domainname,
 extern const char _libc_intl_domainname[];
 
 /* Define the macros `_' and `N_' for conveniently marking translatable
-   strings in the libc source code.  */
+   strings in the libc source code.  We have to make sure we get the
+   correct definitions so we undefine the macros first.  */
 
+# undef N_
 # define N_(msgid)	msgid
 
+# undef _
 # ifdef dgettext
 /* This is defined as an optimizing macro, so use it.  */
 #  define _(msgid)	dgettext (_libc_intl_domainname, (msgid))