Fseeko64 in SDL_rwops.c


We are porting SDL2 to AmigaOS 4 and using Newlib as the C library.

There was an issue found that SDL_LoadBMP failed due to reason that fseeko64 failed after image was opened with fopen. As a workaround, it now uses fopen64 if we have fseeko64:


I wonder if this is a correct approach and is this something that should be reported to the official bug tracker?


i have a similar problem.

Could someone give an hint on this?

Thank you very much

Anyone can help on this?