Re: [AD] Allegro on 64-bit platforms |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Mon, 15 Dec 2003, Eric Botcazou wrote:
> > [length of files]
> >
> > Maybe we should define Yet Another Integer Type, namely the biggest int
> > that the platform supports. So it would be 64 bits even on most 32 bit
> > platforms. Files can be more than 2GB also on 32 bit systems nowadays.
>
> Yes, we could use LONG_LONG but this would break compatibility on 32-bit
> platforms for a marginal gain. 'long' is ok I think.
Use off_t. I guess it's POSIX and has The Right Size when compiling with
USE_LARGEFILE64 (or what is that define called).
Have a nice day.
Stepan Roh