1
0
mirror of https://github.com/simh/simh.git synced 2026-01-27 20:37:50 +00:00

Cleanup compiler warnings on Solaris and newer OSX clang compilers.

Add Large File support on Solaris
This commit is contained in:
Mark Pizzolato
2013-03-13 20:29:03 -07:00
parent f179ba6ae2
commit 9bd8305943
5 changed files with 6 additions and 4 deletions

View File

@@ -232,7 +232,7 @@ return fopen (file, mode);
/* 64b VMS */
#if (defined (__ALPHA) || defined (__ia64)) && defined (VMS) && (__DECC_VER >= 60590001)
#if ((defined (__ALPHA) || defined (__ia64)) && defined (VMS) && (__DECC_VER >= 60590001)) || (defined(__sun__) && defined(_LARGEFILE_SOURCE))
#define S_SIM_IO_FSEEK_EXT_ 1
int sim_fseek (FILE *st, t_addr offset, int whence)