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:
parent
e932f7cdea
commit
c2632be8f2
|
@ -810,6 +810,14 @@
|
||||||
RelativePath="..\..\src\NLS.h"
|
RelativePath="..\..\src\NLS.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\src\Patch.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\src\Patch.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\src\Port.h"
|
RelativePath="..\..\src\Port.h"
|
||||||
>
|
>
|
||||||
|
|
|
@ -34,6 +34,12 @@
|
||||||
#define _stricmp strcasecmp
|
#define _stricmp strcasecmp
|
||||||
#endif // ! _MSC_VER
|
#endif // ! _MSC_VER
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#define fseeko64 _fseeki64
|
||||||
|
#define ftello64 _ftelli64
|
||||||
|
typedef __int64 __off64_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(__APPLE__) || defined (MACOSX)
|
#if defined(__APPLE__) || defined (MACOSX)
|
||||||
#define fseeko64 fseeko
|
#define fseeko64 fseeko
|
||||||
#define ftello64 ftello
|
#define ftello64 ftello
|
||||||
|
|
Loading…
Reference in New Issue