1 /* intl.h - internationalization
2 Copyright 1998, 2001 Free Software Foundation, Inc.
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)
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.
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
26 #ifndef HAVE_SETLOCALE
27 # define setlocale(category, locale) (locale)
30 #ifdef USE_INCLUDED_LIBINTL
31 # include <intl/libgnuintl.h>
33 # ifdef HAVE_LIBINTL_H
41 extern void gcc_init_libintl
PARAMS ((void));
42 extern size_t gcc_gettext_width
PARAMS ((const char *));
46 # define textdomain(domain) (domain)
47 # undef bindtextdomain
48 # define bindtextdomain(domain, directory) (domain)
50 # define gettext(msgid) (msgid)
51 # define gcc_init_libintl() /* nothing */
52 # define gcc_gettext_width(s) strlen(s)
56 # define _(msgid) gettext (msgid)
60 # define N_(msgid) (msgid)