Cygwin support

This commit is contained in:
Thog
2017-05-17 23:56:38 +02:00
parent 7dcc166403
commit a521cd7abd
5 changed files with 33 additions and 27 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ inline int fseeko64(FILE *__stream, long long __off, int __whence)
{
return _fseeki64(__stream, __off, __whence);
}
#elif __APPLE__
#elif __APPLE__ || __CYGWIN__
#define fseeko64 fseek // OS X file I/O is 64bit
#elif __linux__
extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence);