Fix USE_LARGE_FILES with bcc32 on Win32?
authorSteve Hay <SteveHay@planit.com>
Fri, 22 Jul 2005 16:53:11 +0000 (16:53 +0000)
committerSteve Hay <SteveHay@planit.com>
Fri, 22 Jul 2005 16:53:11 +0000 (16:53 +0000)
commit7dc8f726ffdb362768c2563d86c4aba594ce406e
tree8c735fe9f7af19123f236a117e300a725f157311
parent2f21f076b692be0f24c46e07c3d1c08244219a2f
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
win32/config.bc