pgsql: Allow MSVC to build with Tcl 8.6.

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allow MSVC to build with Tcl 8.6.
Date: 2017-05-05 15:48:15
Message-ID: E1d6fSp-0006wI-GN@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Allow MSVC to build with Tcl 8.6.

Commit eaba54c20c5 added support for Tcl 8.6 for configure-supported
platforms after verifying that pltcl works without further changes, but
the MSVC tooling wasn't updated accordingly. Update MSVC to match,
restructuring the code to avoid duplicating the logic for every Tcl
version supported.

Backpatch to all live branches, like eaba54c20c5. In 9.4 and previous,
change the patch to use backslashes rather than forward, as in the rest
of the file.

Reported by Paresh More, who also tested the patch I provided.
Discussion: https://postgr.es/m/CAAgiCNGVw3ssBtSi3ZNstrz5k00ax=UV+_ZEHUeW_LMSGL2sew@mail.gmail.com

Branch
------
REL9_2_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/992e581bff3b0984e23d3fae5e9bed62a5d226fd

Modified Files
--------------
src/tools/msvc/Mkvcbuild.pm | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-05-05 16:46:12 pgsql: Suppress compiler warning about unportable pointer value.
Previous Message Peter Eisentraut 2017-05-05 14:34:15 pgsql: Prevent panic during shutdown checkpoint