Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -6788,6 +6788,7 @@ win32/config_H.gc Win32 config header (MinGW build)
win32/config_h.PL Perl code to convert Win32 config.sh to config.h
win32/config_H.vc Win32 config header (Visual C++ build)
win32/config_sh.PL Perl code to update Win32 config.sh from Makefile
win32/configure/have_stdckdint.c check for availability of stdckdint.h
win32/configure/rt.c identify default runtime
win32/create_perllibst_h.pl creates perllibst.h file for inclusion from perllib.c
win32/distclean.bat Remove _ALL_ files not listed here in MANIFEST
Expand Down
6 changes: 6 additions & 0 deletions win32/config_sh.PL
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,12 @@ my $ver = `ver 2>nul`;
$opt{osvers} = $ver =~ /\b(\d+(?:\.\d+)+)\b/ ? $1 : '4.0';

if (exists $opt{cc}) {
`$opt{cc} -o have_stdckdint.exe configure/have_stdckdint.c 1>nul 2>&1`;
if (-e 'have_stdckdint.exe') {
$opt{i_stdckdint} = 'define' if `have_stdckdint` eq '0';
unlink 'have_stdckdint.exe'; # have_stdckdint.exe no longer needed
}

# cl version detection borrowed from Test::Smoke's configsmoke.pl
if ($opt{cc} =~ /\b(?:cl|icl)/) { #MSVC can come as clarm.exe, icl=Intel C
my $output = `$opt{cc} 2>&1`;
Expand Down
Loading