diff options
Diffstat (limited to 'win32/config_sh.PL')
-rw-r--r-- | win32/config_sh.PL | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/win32/config_sh.PL b/win32/config_sh.PL index 2c319b5e7e..9b260277d1 100644 --- a/win32/config_sh.PL +++ b/win32/config_sh.PL @@ -90,15 +90,11 @@ else { } if (exists $opt{cc}) { - # cl and bcc32 version detection borrowed from Test::Smoke's configsmoke.pl + # cl version detection borrowed from Test::Smoke's configsmoke.pl if ($opt{cc} eq 'cl') { my $output = `cl --version 2>&1`; $opt{ccversion} = $output =~ /^.*Version\s+([\d.]+)/ ? $1 : '?'; } - elsif ($opt{cc} eq 'bcc32') { - my $output = `bcc32 --version 2>&1`; - $opt{ccversion} = $output =~ /([\d.]+)/ ? $1 : '?'; - } elsif ($opt{cc} =~ /\bgcc\b/) { chomp($opt{gccversion} = `$opt{cc} -dumpversion`); } @@ -120,9 +116,8 @@ unless (defined $ENV{SYSTEMROOT}) { # SystemRoot has been introduced by WinNT # change the lseeksize and lseektype from their canned default values (which # are set-up for a non-uselargefiles build) if we are building with -# uselargefiles. don't do this for bcc32: the code contains special handling -# for bcc32 and the lseeksize and lseektype should not be changed. -if ($opt{uselargefiles} eq 'define' and $opt{cc} ne 'bcc32') { +# uselargefiles. +if ($opt{uselargefiles} eq 'define') { $opt{lseeksize} = 8; if ($opt{cc} eq 'cl') { $opt{lseektype} = '__int64'; |