diff options
author | Nick Clifton <nickc@redhat.com> | 2000-05-30 18:35:35 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-05-30 18:35:35 +0000 |
commit | c1485d85e0bae60bf321baa007dd44bcc56b534b (patch) | |
tree | 05fb4d47e213be2861b124b1278ec24911e36fef /opcodes/opintl.h | |
parent | c1a72ffdd6aecb2880a7ea3a00234fd48142074c (diff) | |
download | gdb-c1485d85e0bae60bf321baa007dd44bcc56b534b.zip gdb-c1485d85e0bae60bf321baa007dd44bcc56b534b.tar.gz gdb-c1485d85e0bae60bf321baa007dd44bcc56b534b.tar.bz2 |
Replace defines with those from intl/libgettext.h to quieten gcc warnings.
Diffstat (limited to 'opcodes/opintl.h')
-rw-r--r-- | opcodes/opintl.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/opcodes/opintl.h b/opcodes/opintl.h index a590160..c46ddbd 100644 --- a/opcodes/opintl.h +++ b/opcodes/opintl.h @@ -12,19 +12,18 @@ #ifdef ENABLE_NLS # include <libintl.h> -# define _(String) dgettext (PACKAGE, String) +# define _(String) gettext (String) # ifdef gettext_noop # define N_(String) gettext_noop (String) # else # define N_(String) (String) # endif #else -/* Stubs that do something close enough. */ -# define textdomain(String) (String) -# define gettext(String) (String) -# define dgettext(Domain,Message) (Message) -# define dcgettext(Domain,Message,Type) (Message) -# define bindtextdomain(Domain,Directory) (Domain) +# 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 _(String) (String) # define N_(String) (String) #endif |