From e662d0f3671eaa54e1df63eee8ee19e60e206170 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Wed, 28 Apr 2004 07:44:19 +0000 Subject: [PATCH] Make sure ICONV_CONST is defined. AM_ICONV does not define it if it fails to find iconv.h. --- src/utf8.c | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.44.0