[hatari-devel] Problems with files greater 2 GiB

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hello all,

I have a problem handling files greater than 2 GiB in Previous on some platforms. For example in Windows it seems that off_t is a signed 32-bit integer. This means that many functions in file.c will fail with large files.

I think this can be fixed by adding -D_FILE_OFFSET_BITS=64 somewhere, probably right before the check for large file support in Hatari?


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