make FSEEK macro for using _fseeki64 instead of fseeko on windows

db4
Doug Coleman 2009-04-03 10:35:43 -05:00
parent 92cc670c28
commit 34c8e07900
3 changed files with 3 additions and 1 deletions

View File

@ -179,7 +179,7 @@ void primitive_fseek(void)
break;
}
if(fseeko(file,offset,whence) == -1)
if(FSEEK(file,offset,whence) == -1)
{
io_error();

View File

@ -1,5 +1,6 @@
#define DLLEXPORT
#define NULL_DLL NULL
#define FSEEK fseeko
void c_to_factor_toplevel(CELL quot);
void init_signals(void);

View File

@ -20,6 +20,7 @@ typedef wchar_t F_CHAR;
#define STRNCMP wcsncmp
#define STRDUP _wcsdup
#define MIN(a,b) ((a)>(b)?(b):(a))
#define FSEEK _fseeki64
#ifdef WIN64
#define CELL_FORMAT "%Iu"