[ctrtool] Fix compile errors

And comparisons which would have always returned false.
This commit is contained in:
jakcron
2016-01-08 20:45:14 +08:00
parent b1725fda79
commit 9b4415a7a0
3 changed files with 23 additions and 6 deletions
+4 -2
View File
@@ -46,8 +46,10 @@ 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);
#elif __APPLE__
#define fseeko64 fseek // OS X file I/O is 64bit
#elif __linux__
extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence);
#endif
#ifdef __cplusplus