]> granicus.if.org Git - postgresql/commit
Further tweaks to compiler flags for PL/Perl on Windows.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 17 Aug 2017 17:13:47 +0000 (13:13 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 17 Aug 2017 17:14:06 +0000 (13:14 -0400)
commitc343314882f1c9461eeb227ce7807f2aa8515470
treee80d6fd955eb3544db717990c5d47d7143d01900
parent2a028de1aea29b876b54fdbcac07a41d659125dc
Further tweaks to compiler flags for PL/Perl on Windows.

It now emerges that we can only rely on Perl to tell us we must use
-D_USE_32BIT_TIME_T if it's Perl 5.13.4 or later.  For older versions,
revert to our previous practice of assuming we need that symbol in
all 32-bit Windows builds.  This is not ideal, but inquiring into
which compiler version Perl was built with seems far too fragile.
In any case, we had not previously had complaints about these old
Perl versions, so let's assume this is Good Enough.  (It's still
better than the situation ante commit 5a5c2feca, in that at least
the effects are confined to PL/Perl rather than the whole PG build.)

Back-patch to all supported versions, like 5a5c2feca and predecessors.

Discussion: https://postgr.es/m/CANFyU97OVQ3+Mzfmt3MhuUm5NwPU=-FtbNH5Eb7nZL9ua8=rcA@mail.gmail.com
src/tools/msvc/Mkvcbuild.pm