OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [opcodes/] [opintl.h] - Blame information for rev 1783

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 markom
/* 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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.