* Add support for other operating systems (kFreeBSD, FreeBSD, and OSX for now).
* Switch to autoconf from genconfig.sh.
This commit is contained in:
@ -33,10 +33,10 @@ typedef enum {
|
||||
|
||||
static iconv_result
|
||||
do_iconv(const char* to_ces, const char* from_ces,
|
||||
char *inbuf, size_t inbytesleft,
|
||||
ICONV_CONST char *inbuf, size_t inbytesleft,
|
||||
char *outbuf_orig, size_t outbytesleft_orig)
|
||||
{
|
||||
#ifdef HAVE_ICONV_H
|
||||
#ifdef HAVE_ICONV
|
||||
size_t rc;
|
||||
iconv_result ret = ICONV_OK;
|
||||
|
||||
@ -65,9 +65,9 @@ do_iconv(const char* to_ces, const char* from_ces,
|
||||
iconv_close(cd);
|
||||
|
||||
return ret;
|
||||
#else // HAVE_ICONV_H
|
||||
#else // HAVE_ICONV
|
||||
return ICONV_FATAL;
|
||||
#endif // HAVE_ICONV_H
|
||||
#endif // HAVE_ICONV
|
||||
}
|
||||
|
||||
#define N_LANG_ALT 8
|
||||
|
Reference in New Issue
Block a user