FIO: Add LARGE_FILE support when building on Cygwin (from Don North).
This commit is contained in:
parent
6582aeead2
commit
ed2de2fcf2
2 changed files with 3 additions and 3 deletions
|
@ -334,7 +334,7 @@ return (t_offset)(ftello64 (st));
|
|||
|
||||
/* Apple OS/X */
|
||||
|
||||
#if defined (__APPLE__) || defined (__FreeBSD__) || defined(__NetBSD__) || defined (__OpenBSD__)
|
||||
#if defined (__APPLE__) || defined (__FreeBSD__) || defined(__NetBSD__) || defined (__OpenBSD__) || defined (__CYGWIN__)
|
||||
#define S_SIM_IO_FSEEK_EXT_ 1
|
||||
int sim_fseeko (FILE *st, t_offset xpos, int origin)
|
||||
{
|
||||
|
|
|
@ -41,7 +41,7 @@ int32 sim_finit (void);
|
|||
#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
|
||||
|
|
Loading…
Add table
Reference in a new issue