mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-03 00:39:14 +00:00
Fix Windows compilation by mapping fseeko64 to _fseeki64.
This commit is contained in:
+6
-1
@@ -41,7 +41,12 @@ int makedir(const char* dir);
|
|||||||
|
|
||||||
u64 _fsize(const char *filename);
|
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);
|
extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user