cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: 64/32/16bit curl_off_t for SUMBIAN and VMS

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 5 Jun 2008 09:54:33 -0700

On Thu, Jun 05, 2008 at 06:32:19PM +0200, Yang Tse wrote:
> My current local copy definitions block for these compiler/system looks like:
>
> #elif defined(__SYMBIAN32__)
> #if defined(__GCC32__)
> typedef long long curl_off_t;
> #define CURL_FORMAT_OFF_T "%lld"
> #define CURL_SIZEOF_CURL_OFF_T 8
> #elif defined(__CW32__)
> #pragma longlong on
> typedef long long curl_off_t;
> #define CURL_FORMAT_OFF_T "%lld"
> #define CURL_SIZEOF_CURL_OFF_T 8
> #elif defined(__VC32__)
> typedef signed __int64 curl_off_t;
> #define CURL_FORMAT_OFF_T "%I64d"

This format is wrong--Symbian uses its own libc no matter the compiler,
so the format is always be the same.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-06-05