mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
Update.
* include/libintl.h: Undefine N_ and _ first to avoid warnings.
This commit is contained in:
parent
06535ae948
commit
49e49bf08b
@ -1,5 +1,7 @@
|
||||
1999-07-23 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* include/libintl.h: Undefine N_ and _ first to avoid warnings.
|
||||
|
||||
* elf/elf.h: Add ET_LOOS and ET_HIOS.
|
||||
Add various EM_* constants.
|
||||
Add SHN_LOOS and SHN_HIOS.
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user