X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=utf8.c;h=db706ac4ed6f033091cfaeb7b23c07ca7fd71675;hb=1d7367dce7b55cbb1804c4863c56bd20ab12bda8;hp=ddfdc5e2b88d346886f64e39a93ced85cc10a78e;hpb=d1f6c18bd6ea5fd373f9f6356e02854678ffa0fd;p=~andy%2Fgit diff --git a/utf8.c b/utf8.c index ddfdc5e2b..db706ac4e 100644 --- a/utf8.c +++ b/utf8.c @@ -354,7 +354,7 @@ int is_encoding_utf8(const char *name) * with iconv. If the conversion fails, returns NULL. */ #ifndef NO_ICONV -#ifdef OLD_ICONV +#if defined(OLD_ICONV) || (defined(__sun__) && !defined(_XPG6)) typedef const char * iconv_ibp; #else typedef char * iconv_ibp;