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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [intl.h] - Blame information for rev 455

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

Line No. Rev Author Line
1 38 julius
/* intl.h - internationalization
2
   Copyright 1998, 2001, 2003, 2004, 2007 Free Software Foundation, Inc.
3
 
4
   GCC is free software; you can redistribute it and/or modify
5
   it under the terms of the GNU General Public License as published by
6
   the Free Software Foundation; either version 3, or (at your option)
7
   any later version.
8
 
9
   GCC is distributed in the hope that it will be useful,
10
   but WITHOUT ANY WARRANTY; without even the implied warranty of
11
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
   GNU General Public License for more details.
13
 
14
   You should have received a copy of the GNU General Public License
15
   along with GCC; see the file COPYING3.  If not see
16
   <http://www.gnu.org/licenses/>.  */
17
 
18
#ifndef GCC_INTL_H
19
#define GCC_INTL_H
20
 
21
#ifdef HAVE_LOCALE_H
22
# include <locale.h>
23
#endif
24
 
25
#ifndef HAVE_SETLOCALE
26
# define setlocale(category, locale) (locale)
27
#endif
28
 
29
#ifdef ENABLE_NLS
30
#include <libintl.h>
31
extern void gcc_init_libintl (void);
32
extern size_t gcc_gettext_width (const char *);
33
#else
34
/* Stubs.  */
35
# undef textdomain
36
# define textdomain(domain) (domain)
37
# undef bindtextdomain
38
# define bindtextdomain(domain, directory) (domain)
39
# undef gettext
40
# define gettext(msgid) (msgid)
41
# define gcc_init_libintl()     /* nothing */
42
# define gcc_gettext_width(s) strlen(s)
43
#endif
44
 
45
#ifndef _
46
# define _(msgid) gettext (msgid)
47
#endif
48
 
49
#ifndef N_
50
# define N_(msgid) msgid
51
#endif
52
 
53
#ifndef G_
54
# define G_(gmsgid) gmsgid
55
#endif
56
 
57
extern const char *open_quote;
58
extern const char *close_quote;
59
 
60
#endif /* intl.h */

powered by: WebSVN 2.1.0

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