diff options
author | Lars Hecking <lhecking@users.sourceforge.net> | 2002-11-25 14:16:46 +0000 |
---|---|---|
committer | Lars Hecking <lhecking@users.sourceforge.net> | 2002-11-25 14:16:46 +0000 |
commit | accd3163cc59cb411579c46f74035efe725f6807 (patch) | |
tree | aa62369a9f135925ecfcb9f1736d18c416e101b2 /charset.h | |
parent | fefa931a26df746c7e9864b7ee8cbec9a2ac2953 (diff) |
The noiconv patch.
Diffstat (limited to 'charset.h')
-rw-r--r-- | charset.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -19,7 +19,20 @@ #ifndef _CHARSET_H #define _CHARSET_H +#ifdef HAVE_ICONV_H #include <iconv.h> +#endif + +#ifndef HAVE_ICONV_T_DEF +typedef void *iconv_t; +#endif + +#ifndef HAVE_ICONV +#define ICONV_CONST /**/ +iconv_t iconv_open (const char *, const char *); +size_t iconv (iconv_t, ICONV_CONST char **, size_t *, char **, size_t *); +int iconv_close (iconv_t); +#endif int mutt_convert_string (char **, const char *, const char *, int); |