00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef GCC_INTL_H
00026 #define GCC_INTL_H
00027
00028 #ifdef HAVE_LOCALE_H
00029 # include <locale.h>
00030 #endif
00031
00032 #ifndef HAVE_SETLOCALE
00033 # define setlocale(category, locale) (locale)
00034 #endif
00035
00036 #ifdef USE_INCLUDED_LIBINTL
00037 # include <intl/libgnuintl.h>
00038 #else
00039 # ifdef HAVE_LIBINTL_H
00040 # include <libintl.h>
00041 # else
00042 # undef ENABLE_NLS
00043 # endif
00044 #endif
00045
00046 #ifdef ENABLE_NLS
00047 #ifdef KEY
00048 #ifdef SGI_MONGOOSE
00049 # define gcc_init_libintl()
00050 #else
00051 extern void gcc_init_libintl PARAMS ((void));
00052 #endif
00053 #endif
00054 #else
00055
00056 # undef textdomain
00057 # define textdomain(domain) (domain)
00058 # undef bindtextdomain
00059 # define bindtextdomain(domain, directory) (domain)
00060 # undef gettext
00061 # define gettext(msgid) (msgid)
00062 # define gcc_init_libintl()
00063 #endif
00064
00065 #ifndef _
00066 # define _(msgid) gettext (msgid)
00067 #endif
00068
00069 #ifndef N_
00070 # define N_(msgid) (msgid)
00071 #endif
00072
00073 #endif