diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2002-12-18 02:08:12 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2002-12-18 02:08:12 +0000 |
commit | 4a9d61009ab1e3df94ef4ecfcc453c9ce73010a4 (patch) | |
tree | 5bb486e54adfa3de89ac2448576a0f0d61f72722 /win32/config_sh.PL | |
parent | 87755fa7011638e8ad4f4be9619e28e676b74d12 (diff) | |
download | perl-4a9d61009ab1e3df94ef4ecfcc453c9ce73010a4.tar.gz |
windows: support for large files
note that this change will break binary compatibility with the
default 5.8.0 build options; nevertheless I think it is worth
having in 5.8.1 (people who want the compatibility can disable
the option in the makefile)
p4raw-id: //depot/perl@18327
Diffstat (limited to 'win32/config_sh.PL')
-rw-r--r-- | win32/config_sh.PL | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/win32/config_sh.PL b/win32/config_sh.PL index b31415d88a..3b76cd04ea 100644 --- a/win32/config_sh.PL +++ b/win32/config_sh.PL @@ -90,6 +90,11 @@ if (defined(&Win32::IsWin95) && Win32::IsWin95()) { $opt{d_link} = 'undef'; } +if ($opt{uselargefiles} ne 'define') { + $opt{lseeksize} = 4; + $opt{lseektype} = 'off_t'; +} + while (<>) { s/~([\w_]+)~/$opt{$1}/g; if (/^([\w_]+)=(.*)$/) { |