[Vm-dev] other 64bit changes, header files, and smalltalk

Igor Stasenko siguctua at gmail.com
Tue Jan 12 16:09:26 UTC 2010


2010/1/12 Andreas Raab <andreas.raab at gmx.de>:
>
> Igor Stasenko wrote:
>>
>> Btw,  about that function. Its using a squeakFileOffsetType, which is
>> platform specific, and i had hard times
>> trying to deal with right header inclusion order imposing dependency
>> of interpreter from platform code, which, IMO should be avoided.
>> I propose to change it to
>> typedef  unsigned long long vmFileOffsetType;
>> and use this type instead.
>
> I'm not sure if MSVC supports long long nowadays. It didn't used to - it
> used to require __int64 which is why the definition of squeakFileOffsetType
> is external.
>

There should be an ANSI long long integer type.
Afaik __int64 is platform/compiler specific.

> Cheers,
>  - Andreas
>
>



-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Vm-dev mailing list