diff --git a/project/vc2008_mfc/VBA2008.vcproj b/project/vc2008_mfc/VBA2008.vcproj index 1c541161..9c555a3e 100644 --- a/project/vc2008_mfc/VBA2008.vcproj +++ b/project/vc2008_mfc/VBA2008.vcproj @@ -810,6 +810,14 @@ RelativePath="..\..\src\NLS.h" > + + + + diff --git a/src/Patch.cpp b/src/Patch.cpp index 04401e79..9d48e460 100644 --- a/src/Patch.cpp +++ b/src/Patch.cpp @@ -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