diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-09-06 00:32:15 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-09-06 00:32:15 (GMT) |
commit | 6e13a562ae01a962612ca76f9afcc7211240236e (patch) | |
tree | 272a23269db39f82d12388554cac8497f2dc4bab /PC/pyconfig.h | |
parent | 97f4a33e125dc14c72070bbf38f723aaa26b9df7 (diff) | |
download | cpython-6e13a562ae01a962612ca76f9afcc7211240236e.zip cpython-6e13a562ae01a962612ca76f9afcc7211240236e.tar.gz cpython-6e13a562ae01a962612ca76f9afcc7211240236e.tar.bz2 |
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).
Diffstat (limited to 'PC/pyconfig.h')
-rw-r--r-- | PC/pyconfig.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h index f287605..370b518 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -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 |