* sun build fix for thinko (?)
[binutils-gdb.git] / opcodes / opintl.h
blob8a5203f73ba0d931ff7a7b54b53b299ffbb1d30e
1 /* opintl.h - opcodes specific header for gettext code.
2 Copyright (C) 1998 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) gettext (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 /* In this case we don't care about the value. */
31 # ifndef LC_MESSAGES
32 # define LC_MESSAGES 0
33 # endif
34 #endif