ADDED patch files to Win32/MFC project

ADDED Microsoft compatible replacements for fseeko64, ftello64 and __off64_t
This commit is contained in:
spacy51 2008-10-16 14:16:09 +00:00
parent 89c0a7b049
commit 400418b1d3
2 changed files with 14 additions and 0 deletions

View File

@ -810,6 +810,14 @@
RelativePath="..\..\src\NLS.h"
>
</File>
<File
RelativePath="..\..\src\Patch.cpp"
>
</File>
<File
RelativePath="..\..\src\Patch.h"
>
</File>
<File
RelativePath="..\..\src\Port.h"
>

View File

@ -34,6 +34,12 @@
#define _stricmp strcasecmp
#endif // ! _MSC_VER
#ifdef _MSC_VER
#define fseeko64 _fseeki64
#define ftello64 _ftelli64
typedef __int64 __off64_t;
#endif
#if defined(__APPLE__) || defined (MACOSX)
#define fseeko64 fseeko
#define ftello64 ftello