1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-03 22:24:49 +03:00

MSVC: Remove cosmetic, cross-branch differences pertaining to Perl.

This simplifies back-patch of the next change to v9.5 and v9.6.
This commit is contained in:
Noah Misch 2017-12-08 18:04:45 -08:00
parent ba8cc0ad05
commit a59b3428ef

View File

@ -519,10 +519,10 @@ sub mkvcbuild
# Add defines from Perl's ccflags; see PGAC_CHECK_PERL_EMBED_CCFLAGS
my @perl_embed_ccflags;
foreach my $f (split(" ",$Config{ccflags}))
foreach my $f (split(" ", $Config{ccflags}))
{
if ($f =~ /^-D[^_]/ ||
$f =~ /^-D_USE_32BIT_TIME_T/)
if ( $f =~ /^-D[^_]/
|| $f =~ /^-D_USE_32BIT_TIME_T/)
{
$f =~ s/\-D//;
push(@perl_embed_ccflags, $f);
@ -624,7 +624,8 @@ sub mkvcbuild
}
else
{
die "could not identify perl library version";
die
"could not identify perl library version matching pattern $perl_path\n";
}
# Add transform module dependent on plperl