19990502 sourceware import
[deliverable/binutils-gdb.git] / opcodes / opintl.h
... / ...
CommitLineData
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>
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
This page took 0.022944 seconds and 4 git commands to generate.