File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -6788,6 +6788,7 @@ win32/config_H.gc Win32 config header (MinGW build)
67886788win32/config_h.PL Perl code to convert Win32 config.sh to config.h
67896789win32/config_H.vc Win32 config header (Visual C++ build)
67906790win32/config_sh.PL Perl code to update Win32 config.sh from Makefile
6791+ win32/configure/have_stdckdint.c check for availability of stdckdint.h
67916792win32/configure/rt.c identify default runtime
67926793win32/create_perllibst_h.pl creates perllibst.h file for inclusion from perllib.c
67936794win32/distclean.bat Remove _ALL_ files not listed here in MANIFEST
Original file line number Diff line number Diff line change @@ -148,6 +148,12 @@ my $ver = `ver 2>nul`;
148148$opt {osvers } = $ver =~ / \b (\d +(?:\.\d +)+)\b / ? $1 : ' 4.0' ;
149149
150150if (exists $opt {cc }) {
151+ ` $opt {cc} -o have_stdckdint.exe configure/have_stdckdint.c 1>nul 2>&1` ;
152+ if (-e ' have_stdckdint.exe' ) {
153+ $opt {i_stdckdint } = ' define' if ` have_stdckdint` eq ' 0' ;
154+ unlink ' have_stdckdint.exe' ; # have_stdckdint.exe no longer needed
155+ }
156+
151157 # cl version detection borrowed from Test::Smoke's configsmoke.pl
152158 if ($opt {cc } =~ / \b (?:cl|icl)/ ) { # MSVC can come as clarm.exe, icl=Intel C
153159 my $output = ` $opt {cc} 2>&1` ;
You can’t perform that action at this time.
0 commit comments