]> granicus.if.org Git - postgresql/commit
Allow MSVC to build with Tcl 8.6.
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 5 May 2017 15:05:34 +0000 (12:05 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 5 May 2017 15:05:34 +0000 (12:05 -0300)
commit19a40337854ee83bd0fb1b65d0787e2c74065722
treea303951241f3f5d84cb511f46515ef2ec76a32e7
parentbd05ad8b052012155fd5de0c21029d5869ad5eb4
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
src/tools/msvc/Mkvcbuild.pm