cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: _libiconv_version compiler error fix

From: Gisle Vanem <giva_at_bgnett.no>
Date: Tue, 15 Aug 2006 18:58:35 +0200

"David McCreedy" <mccreedytpf_at_msn.com> wrote:

> #if defined(HAVE_ICONV) && defined(CURL_DOES_CONVERSIONS)
>+#ifdef _libiconv_version
> len = snprintf(ptr, left, " iconv/%d.%d",
> _libiconv_version >> 8, _libiconv_version & 255);
>+#else

This doesn't fixes anything since '_libiconv_version' is *not* a
preprocessor define. Better use _LIBICONV_VERSION instead.
I'll add a commit using that.

--gv
Received on 2006-08-15