From: Steve Hay Date: Fri, 22 Jul 2005 16:53:11 +0000 (+0000) Subject: Fix USE_LARGE_FILES with bcc32 on Win32? X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7dc8f726ffdb362768c2563d86c4aba594ce406e;p=p5sagit%2Fp5-mst-13.2.git Fix USE_LARGE_FILES with bcc32 on Win32? Trawling through all these config files, I think I've found the reason why bcc32 builds with USE_LARGE_FILES were failing (e.g. (see http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2005-06/msg00809.html): lseeksize and lseektype were set to 8 and __int64, but Borland's suggests that they should be 4 and long respectively. Changing them accordingly makes all tests pass. And I see that win32/win32.c has special handling for __BORLANDC__ + USE_LARGE_FILES, presumably to cope with this difference? p4raw-id: //depot/perl@25216 --- diff --git a/win32/config.bc b/win32/config.bc index 1c285bf..ed9d974 100644 --- a/win32/config.bc +++ b/win32/config.bc @@ -735,8 +735,8 @@ longsize='4' lp='' lpr='' ls='dir' -lseeksize='8' -lseektype='__int64' +lseeksize='4' +lseektype='long' mail='' mailx='' make='dmake'