]> gcc.gnu.org Git - gcc.git/blame - gcc/intl.h
* cpp.texi: Fix some typos.
[gcc.git] / gcc / intl.h
CommitLineData
e44d06c3
JL
1/* intl.h - internationalization
2 Copyright 1998 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 2, 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 COPYING. If not, write to the Free
16 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
17 02111-1307, USA. */
18
19#ifdef HAVE_LOCALE_H
20# include <locale.h>
21#endif
22
23#ifndef HAVE_SETLOCALE
24# define setlocale(category, locale) (locale)
25#endif
26
27#ifdef ENABLE_NLS
28# include <libintl.h>
29 extern const char localedir[];
30#else
31/* Stubs that do something close enough. */
32# ifdef textdomain
33# undef textdomain
34# endif
35# define textdomain(domain) (domain)
36# ifdef bindtextdomain
37# undef bindtextdomain
38# endif
39# define bindtextdomain(domain, directory) (domain)
40# ifdef gettext
41# undef gettext
42# endif
43# define gettext(msgid) (msgid)
44#endif
45
46#ifndef _
47# define _(msgid) gettext (msgid)
48#endif
49
50#ifndef N_
51# define N_(msgid) (msgid)
52#endif
This page took 0.220441 seconds and 5 git commands to generate.