[Python-checkins] CVS: python/dist/src/PC pyconfig.h,1.3,1.4

Tim Peters tim_one@users.sourceforge.net
Wed, 05 Sep 2001 17:32:17 -0700


Update of /cvsroot/python/python/dist/src/PC
In directory usw-pr-cvs1:/tmp/cvs-serv19489/python/PC

Modified Files:
	pyconfig.h 
Log Message:
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).


Index: pyconfig.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/PC/pyconfig.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** pyconfig.h	2001/08/29 21:37:09	1.3
--- pyconfig.h	2001/09/06 00:32:15	1.4
***************
*** 314,317 ****
--- 314,318 ----
  #elif defined(MS_WIN32)
  #	define PLATFORM "win32"
+ #	define HAVE_LARGEFILE_SUPPORT
  #	ifdef _M_ALPHA
  #		define SIZEOF_VOID_P 8