diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-01-19 03:23:56 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-01-19 03:23:56 -0800 |
commit | 4ba8500d63991518aefef86474576de565e00237 (patch) | |
tree | 143d752c8f0244812621ee2a09cd2bbb5b08071c /binutils/sysdep.h | |
parent | b8cc0ceb40868b1d4d42854e4d89372aa5aef921 (diff) | |
parent | c935ff02abfbf5bb80aa043340f7d101aac262f2 (diff) | |
download | gdb-users/hjl/linux/release/2.29.51.0.1.zip gdb-users/hjl/linux/release/2.29.51.0.1.tar.gz gdb-users/hjl/linux/release/2.29.51.0.1.tar.bz2 |
Merge remote-tracking branch 'origin/users/hjl/linux/master' into users/hjl/linux/appliedusers/hjl/linux/release/2.29.51.0.1users/hjl/linux/applied
Diffstat (limited to 'binutils/sysdep.h')
-rw-r--r-- | binutils/sysdep.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/binutils/sysdep.h b/binutils/sysdep.h index 3a89f92..64ae1d0 100644 --- a/binutils/sysdep.h +++ b/binutils/sysdep.h @@ -1,5 +1,5 @@ /* sysdep.h -- handle host dependencies for binutils - Copyright (C) 1991-2017 Free Software Foundation, Inc. + Copyright (C) 1991-2018 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -159,8 +159,14 @@ size_t strnlen (const char *, size_t); # define gettext(Msgid) (Msgid) # define dgettext(Domainname, Msgid) (Msgid) # define dcgettext(Domainname, Msgid, Category) (Msgid) -# define textdomain(Domainname) while (0) /* nothing */ -# define bindtextdomain(Domainname, Dirname) while (0) /* nothing */ +# define ngettext(Msgid1, Msgid2, n) \ + (n == 1 ? Msgid1 : Msgid2) +# define dngettext(Domainname, Msgid1, Msgid2, n) \ + (n == 1 ? Msgid1 : Msgid2) +# define dcngettext(Domainname, Msgid1, Msgid2, n, Category) \ + (n == 1 ? Msgid1 : Msgid2) +# define textdomain(Domainname) do {} while (0) +# define bindtextdomain(Domainname, Dirname) do {} while (0) # define _(String) (String) # define N_(String) (String) #endif |