00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef GCC_INTL_H
00020 #define GCC_INTL_H
00021
00022 #ifdef HAVE_LOCALE_H
00023 # include <locale.h>
00024 #endif
00025
00026 #ifndef HAVE_SETLOCALE
00027 # define setlocale(category, locale) (locale)
00028 #endif
00029
00030 #ifdef ENABLE_NLS
00031 #include <libintl.h>
00032 extern void gcc_init_libintl (void);
00033 extern size_t gcc_gettext_width (const char *);
00034 #else
00035
00036 # undef textdomain
00037 # define textdomain(domain) (domain)
00038 # undef bindtextdomain
00039 # define bindtextdomain(domain, directory) (domain)
00040 # undef gettext
00041 # define gettext(msgid) (msgid)
00042 # define gcc_init_libintl()
00043 # define gcc_gettext_width(s) strlen(s)
00044 #endif
00045
00046 #ifndef _
00047 # define _(msgid) gettext (msgid)
00048 #endif
00049
00050 #ifndef N_
00051 # define N_(msgid) msgid
00052 #endif
00053
00054 #ifndef G_
00055 # define G_(gmsgid) gmsgid
00056 #endif
00057
00058 extern const char *open_quote;
00059 extern const char *close_quote;
00060
00061 #endif