]> 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)
commit992e581bff3b0984e23d3fae5e9bed62a5d226fd
tree9c3a41af8982c6e85893e7a79cf41e0da0e64879
parent33356ad68d5d3dce4c234d96dc908d3ca3329e77
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