|Re: [hatari-devel] Using ftello/fseeko instead of ftell/fseek for large file support|
[ Thread Index |
| More lists.tuxfamily.org/hatari-devel Archives
On Mittwoch, 23. August 2017 17:57:18 CEST Christian Zietz wrote:
>Well, "braindamaged win32" is a supported platform for Hatari,
Yes, but the braindamage there is that you have to put a lot of effort into
getting it right there, even on win64, because long is only 32bit.
> But that's only true *if* you use fseeko and ftello. fseek and ftell
> will always have to use signed long int to be compliant to the C
That's true for the stream based versions only. Other functions like lseek()
already use off_t, and off_t will be changed to a 64bit type in those cases.