1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 04:01:38 +00:00

FIO: Add LARGE_FILE support when building on Cygwin (from Don North).

This commit is contained in:
Mark Pizzolato
2016-01-03 04:02:32 -08:00
parent 6582aeead2
commit ed2de2fcf2
2 changed files with 3 additions and 3 deletions

View File

@@ -38,10 +38,10 @@
#define fxwrite(a,b,c,d) sim_fwrite (a, b, c, d)
int32 sim_finit (void);
#if (defined (__linux) || defined (__linux__) || defined (__hpux) || defined (_AIX) || \
#if (defined (__linux) || defined (__linux__) || defined (__hpux) || defined (_AIX) || \
(defined (VMS) && (defined (__ALPHA) || defined (__ia64)) && (__DECC_VER >= 60590001)) || \
((defined(__sun) || defined(__sun__)) && defined(_LARGEFILE_SOURCE)) || \
defined (_WIN32) || defined (__APPLE__) || \
defined (_WIN32) || defined (__APPLE__) || defined (__CYGWIN__) || \
defined (__FreeBSD__) || defined(__NetBSD__) || defined (__OpenBSD__)) && !defined (DONT_DO_LARGEFILE)
typedef t_int64 t_offset;
#else