diff --git a/MANIFEST b/MANIFEST index 2ecec777eba2..7356fa5b1e8b 100644 --- a/MANIFEST +++ b/MANIFEST @@ -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 diff --git a/win32/config_sh.PL b/win32/config_sh.PL index 5b77c06c64bd..db365929138b 100644 --- a/win32/config_sh.PL +++ b/win32/config_sh.PL @@ -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`;