Fix Windows compilation by mapping fseeko64 to _fseeki64.

This commit is contained in:
Myria
2015-12-26 11:37:34 -08:00
parent 59c5df9d8c
commit a2f6616d21
+6 -1
View File
@@ -41,7 +41,12 @@ int makedir(const char* dir);
u64 _fsize(const char *filename);
#ifndef _WIN32
#ifdef _WIN32
inline int fseeko64(FILE *__stream, long long __off, int __whence)
{
return _fseeki64(__stream, __off, __whence);
}
#else
extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence);
#endif