ADDED patch files to Win32/MFC project

ADDED Microsoft compatible replacements for fseeko64, ftello64 and __off64_t


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@754 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
spacy51 2008-10-16 14:16:09 +00:00
parent e932f7cdea
commit c2632be8f2
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