From 7dc8f726ffdb362768c2563d86c4aba594ce406e Mon Sep 17 00:00:00 2001 From: Steve Hay Date: Fri, 22 Jul 2005 16:53:11 +0000 Subject: [PATCH] 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 --- win32/config.bc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' -- 1.8.3.1