Enable large file support on Win32 systems.

Curious:  the MS docs say stati64 etc are supported even on Win95, but
Win95 doesn't support a filesystem that allows partitions > 2 Gb.

test_largefile:  This was opening its test file in text mode.  I have no
idea how that worked under Win64, but it sure needs binary mode on Win98.
BTW, on Win98 test_largefile runs quickly (under a second).
This commit is contained in:
Tim Peters 2001-09-06 00:32:15 +00:00
parent 97f4a33e12
commit 6e13a562ae
5 changed files with 15 additions and 8 deletions

View file

@ -313,6 +313,7 @@ typedef int pid_t;
# define HAVE_LARGEFILE_SUPPORT
#elif defined(MS_WIN32)
# define PLATFORM "win32"
# define HAVE_LARGEFILE_SUPPORT
# ifdef _M_ALPHA
# define SIZEOF_VOID_P 8
# define SIZEOF_TIME_T 8