cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: 64/32/16bit curl_off_t for DJGPP and WATCOMC

From: Yang Tse <yangsita_at_gmail.com>
Date: Tue, 3 Jun 2008 16:03:19 +0200

2008/6/3, Gisle Vanem wrote:

> 64-bit in large model? I don't think that works. I think you mean:
>
> #if defined(__WATCOMC__) && defined(__386__)
> typedef signed __int64 curl_off_t;

I knew that skimming a manual is not enough. Thanks for spotting this.

This user guide
http://www.openwatcom.org/ftp/archive/11.0c/docs/cuserguide.pdf on
page 104 uses "%Ld" to format printing of the __int64 data type. Is
this correct or should something else be used ?

> [...]
> (which maps to 16 or 32-bit depending on model (small/large/flat))).

Could you tell us what are the 16 or 32-bit size mapping of 'long'
depending on the memory model for DJGPP and the size of "long int" for
WATCOMC ?

-- 
-=[Yang]=-
Received on 2008-06-03