* Fix some issues with uClibc.

This commit is contained in:
Justin Maggard
2009-10-28 07:44:45 +00:00
parent f36047098c
commit 41f204029b
8 changed files with 31 additions and 7 deletions

View File

@ -37,6 +37,7 @@ do_iconv(const char* to_ces, const char* from_ces,
char *inbuf, size_t inbytesleft,
char *outbuf_orig, size_t outbytesleft_orig)
{
#ifdef HAVE_ICONV_H
size_t rc;
iconv_result ret = ICONV_OK;
@ -65,6 +66,9 @@ do_iconv(const char* to_ces, const char* from_ces,
iconv_close(cd);
return ret;
#else // HAVE_ICONV_H
return ICONV_FATAL;
#endif // HAVE_ICONV_H
}
#define N_LANG_ALT 8