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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user