From: Sergey Poznyakoff Date: Wed, 28 Apr 2004 07:44:19 +0000 (+0000) Subject: Make sure ICONV_CONST is defined. AM_ICONV does not define it if it fails to find... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=e662d0f3671eaa54e1df63eee8ee19e60e206170;p=chaz%2Ftar Make sure ICONV_CONST is defined. AM_ICONV does not define it if it fails to find iconv.h. --- diff --git a/src/utf8.c b/src/utf8.c index 8a8fb42..5aba250 100644 --- a/src/utf8.c +++ b/src/utf8.c @@ -23,6 +23,10 @@ # include #endif +#ifndef ICONV_CONST +# define ICONV_CONST +#endif + #ifdef HAVE_LIBICONV struct langtab