Re: [AD] Allegro on 64-bit platforms

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Tue, 16 Dec 2003, Eric Botcazou wrote:

> > Use off_t. I guess it's POSIX and has The Right Size when compiling with
> > USE_LARGEFILE64 (or what is that define called).
>
> I'd rather not rely on POSIX (because of MSVC) and I don't want to change the
> ABI when USE_LARGEFILE64 is defined.

You can add POSIX-ish #define to MSVC headers.

Problem of USE_LARGEFILE64 can be solved in two ways: 1. always use it, 2.
have second set of largefile functions and switch to them magically in
headers (glibc approach).

Have a nice day.

Stepan Roh




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/