Use fseeko64 and related functions; mingw32 doesn't know about fseeko;