diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-07-23 23:10:36 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-07-23 23:10:36 +0000 |
commit | 49e49bf08bd5c0eff7d6ab8f2ec10b77c43a3dff (patch) | |
tree | 5b7b91182b26ce26fa31d3005fa99e9071419b74 /include/libintl.h | |
parent | 06535ae9487708dad9048552c9c92828d998a897 (diff) | |
download | glibc-49e49bf08bd5c0eff7d6ab8f2ec10b77c43a3dff.zip glibc-49e49bf08bd5c0eff7d6ab8f2ec10b77c43a3dff.tar.gz glibc-49e49bf08bd5c0eff7d6ab8f2ec10b77c43a3dff.tar.bz2 |
Update.
* include/libintl.h: Undefine N_ and _ first to avoid warnings.
Diffstat (limited to 'include/libintl.h')
-rw-r--r-- | include/libintl.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/libintl.h b/include/libintl.h index a772853..40342e9 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)) |