cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: _libiconv_version compiler error fix

From: David McCreedy <McCreedyTPF_at_msn.com>
Date: Tue, 15 Aug 2006 16:32:42 -0600

On August 15, 2006 10:58 AM Gisle Vanem wrote:

>"David McCreedy" <mccreedytpf_at_msn.com<mailto: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.

_LIBICONV_VERSION works fine for TPF.
Thanks for making the change.

-David McCreedy
Received on 2006-08-16