1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-13 15:27:46 +00:00

OSX fix for recent sim_disk changes

This commit is contained in:
Mark Pizzolato 2013-03-17 12:21:56 -07:00
parent 2e5b0d54c6
commit 4425241b78

View File

@ -329,7 +329,7 @@ return (t_offset)(ftello64 (st));
#if defined (__APPLE__) || defined (__FreeBSD__)
#define S_SIM_IO_FSEEK_EXT_ 1
int sim_fseek (FILE *st, t_offset xpos, int origin)
int sim_fseeko (FILE *st, t_offset xpos, int origin)
{
return fseeko (st, (off_t)xpos, origin);
}