From 11d4d2a5edcbd968ae4a5edc6851e686253a6aa2 Mon Sep 17 00:00:00 2001 From: Myria Date: Sat, 26 Dec 2015 18:13:59 -0800 Subject: [PATCH] Supposedly, not having an fseeko64 is only a Visual Studio thing. Would fix mingw32, supposedly. --- ctrtool/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctrtool/utils.h b/ctrtool/utils.h index f813b0c..1d5eac8 100644 --- a/ctrtool/utils.h +++ b/ctrtool/utils.h @@ -41,7 +41,7 @@ int makedir(const char* dir); u64 _fsize(const char *filename); -#ifdef _WIN32 +#ifdef _MSC_VER inline int fseeko64(FILE *__stream, long long __off, int __whence) { return _fseeki64(__stream, __off, __whence);