file sysinfo.h was initially added on branch binutils-2_10-branch.
[binutils.git] / opcodes / opintl.h
bloba590160408180e05e1b3684a370e4cb9d54997ef
1 /* opintl.h - opcodes specific header for gettext code.
2 Copyright (C) 1998, 1999 Free Software Foundation, Inc.
4 Written by Tom Tromey <tromey@cygnus.com>
6 This file is part of the opcodes library used by GAS and the GNU binutils.
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. */
13 #ifdef ENABLE_NLS
14 # include <libintl.h>
15 # define _(String) dgettext (PACKAGE, String)
16 # ifdef gettext_noop
17 # define N_(String) gettext_noop (String)
18 # else
19 # define N_(String) (String)
20 # endif
21 #else
22 /* Stubs that do something close enough. */
23 # define textdomain(String) (String)
24 # define gettext(String) (String)
25 # define dgettext(Domain,Message) (Message)
26 # define dcgettext(Domain,Message,Type) (Message)
27 # define bindtextdomain(Domain,Directory) (Domain)
28 # define _(String) (String)
29 # define N_(String) (String)
30 #endif