ADDED patch files to Win32/MFC project
ADDED Microsoft compatible replacements for fseeko64, ftello64 and __off64_t
This commit is contained in:
parent
89c0a7b049
commit
400418b1d3
|
@ -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"
|
||||
>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue