Re: [AD] fshook changes

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


On Sun, 2009-01-11 at 08:06 -0700, Thomas Fjellstrom wrote:
> 
> Something new to think about, I'm sure we want large file support on 32bit 
> systems, so at least on linux (and some unixs) we need to use fseeko and 
> ftello instead of the non o versions.
> 
> they happen to be SUSv2, and POSIX.1-2001, is that enough? I was planning on 
> adding a check in cmake for them, but the allegro api will change depending if 
> they exist or not... fseek/ftell deal with 'long', fseeko/ftello deal with 
> off_t (which is 64bit with the right defines set).
> 
> So supporting both versions means incompatible dlls...
> 

What about uint64_t like in A4?

http://www.liballeg.org/stabledocs/en//alleg030.html#file_size_ex

-- 
Elias Pschernig <elias@xxxxxxxxxx>





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