aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts/alphavms.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/hosts/alphavms.h')
-rw-r--r--bfd/hosts/alphavms.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/bfd/hosts/alphavms.h b/bfd/hosts/alphavms.h
index 3acdd51..9e61c45 100644
--- a/bfd/hosts/alphavms.h
+++ b/bfd/hosts/alphavms.h
@@ -56,7 +56,13 @@ extern char *stpcpy (char *, const char *);
#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)