summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2005-07-22 16:53:11 +0000
committerSteve Hay <SteveHay@planit.com>2005-07-22 16:53:11 +0000
commit7dc8f726ffdb362768c2563d86c4aba594ce406e (patch)
tree8c735fe9f7af19123f236a117e300a725f157311 /win32
parent2f21f076b692be0f24c46e07c3d1c08244219a2f (diff)
downloadperl-7dc8f726ffdb362768c2563d86c4aba594ce406e.tar.gz
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 <io.h> 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
Diffstat (limited to 'win32')
-rw-r--r--win32/config.bc4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/config.bc b/win32/config.bc
index 1c285bf1ab..ed9d974c01 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'