linux下用fseeko和ftello, mingw下使用fseeko64, ftello64
#ifdef __MINGW32__
#define fseeko(x,y,z) fseeko64(x,y,z)
#define ftello(x) ftello64(x)
#endif
linux在#include <stdio.h>之前(mingw呢?)
#define _FILE_OFFSET_BITS 64
或-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64