Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | /* opintl.h - opcodes specific header for gettext code. |
2 | Copyright (C) 1998, 1999 Free Software Foundation, Inc. | |
3 | ||
4 | Written by Tom Tromey <tromey@cygnus.com> | |
5 | ||
6 | This file is part of the opcodes library used by GAS and the GNU binutils. | |
7 | ||
8 | You should have received a copy of the GNU General Public License | |
9 | along with GAS; see the file COPYING. If not, write to the Free | |
10 | Software Foundation, 59 Temple Place - Suite 330, Boston, MA | |
11 | 02111-1307, USA. */ | |
12 | ||
13 | #ifdef ENABLE_NLS | |
14 | # include <libintl.h> | |
c1485d85 | 15 | # define _(String) gettext (String) |
252b5132 RH |
16 | # ifdef gettext_noop |
17 | # define N_(String) gettext_noop (String) | |
18 | # else | |
19 | # define N_(String) (String) | |
20 | # endif | |
21 | #else | |
c1485d85 NC |
22 | # define gettext(Msgid) (Msgid) |
23 | # define dgettext(Domainname, Msgid) (Msgid) | |
24 | # define dcgettext(Domainname, Msgid, Category) (Msgid) | |
25 | # define textdomain(Domainname) while (0) /* nothing */ | |
26 | # define bindtextdomain(Domainname, Dirname) while (0) /* nothing */ | |
252b5132 RH |
27 | # define _(String) (String) |
28 | # define N_(String) (String) | |
29 | #endif |