[FIX] via source forge updates

Lex Spoon lex at cc.gatech.edu
Fri Feb 1 06:10:37 UTC 2002


> Actually _that_ change is in Cross/sqVirtualMachine.h and really, really
> needs a nicer way of specifying the choice. Meta programming of the C
> compiler would be nice here; can I do anything like
> #if sizeof(sqeakFileOffsetType) == 4
> #define squeakInt64 long long
> #else
> #define squeakInt64 long int
> #endif
> ??
> I actually tried that with no success :-( but there really must be some
> way to do it. A crucial point is that it must be ansi spec, not ISO or
> 'it works ok in gcc'. Why is ansi important? Ask me once you've tried
> doing ports to minimal systems with just an ansilibrary and monitor.
> 

How about if this file includes sqPlatformSpecific.h ?

Or if that's a problem (I don't really grok what the role of all these
different header files is), how about we split out a sqTypes.h file with
types such as this one?



-Lex



More information about the Squeak-dev mailing list