Go to the documentation of this file.
44 #if defined (HAVE_ICONV)
60 #if defined (HAVE_ICONV) && defined (HAVE_BTOWC) \
61 && (defined (__STDC_ISO_10646__) \
62 || (defined (_LIBICONV_VERSION) && _LIBICONV_VERSION >= 0x108))
67 #define gdb_wcslen wcslen
68 #define gdb_iswprint iswprint
69 #define gdb_iswdigit iswdigit
70 #define gdb_btowc btowc
73 #define LCST(X) L ## X
80 #if defined (__STDC_ISO_10646__)
81 #define USE_INTERMEDIATE_ENCODING_FUNCTION
82 #define INTERMEDIATE_ENCODING intermediate_encoding ()
83 const char *intermediate_encoding (
void);
85 #elif defined (_LIBICONV_VERSION) && _LIBICONV_VERSION >= 0x108
86 #define INTERMEDIATE_ENCODING "wchar_t"
90 #error "Neither __STDC_ISO_10646__ nor _LIBICONV_VERSION defined"
97 #if defined (HAVE_BTOWC)
104 #define gdb_wcslen strlen
105 #define gdb_iswprint isprint
106 #define gdb_iswdigit isdigit
117 #define INTERMEDIATE_ENCODING "wchar_t"
119 #define INTERMEDIATE_ENCODING host_charset ()