X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=utf8.c;h=db706ac4ed6f033091cfaeb7b23c07ca7fd71675;hb=d4f6bc887de7957645b998a0b0e22bc4048f36dd;hp=ddfdc5e2b88d346886f64e39a93ced85cc10a78e;hpb=8cc3fe45c92a2e85400a6ee83c3b3a4a8ca1d6c7;p=git.git 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;