pgsql: Fix build of MSVC with OpenSSL 3.0.0 - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Fix build of MSVC with OpenSSL 3.0.0
Date
Msg-id E1md6MV-0007dw-Ma@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix build of MSVC with OpenSSL 3.0.0

The build scripts of Visual Studio would fail to detect properly a 3.0.0
build as the check on the second digit was failing.  This is adjusted
where needed, allowing the builds to complete.  Note that the MSIs of
OpenSSL mentioned in the documentation have not changed any library
names for Win32 and Win64, making this change straight-forward.

Reported-by: htalaco, via github
Reviewed-by: Daniel Gustafsson
Discussion: https://postgr.es/m/YW5XKYkq6k7OtrFq@paquier.xyz
Backpatch-through: 9.6

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/922e3c3b72d847bc9010b19a1f31875e6be49577

Modified Files
--------------
src/tools/msvc/Solution.pm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Ensure correct lock level is used in ALTER ... RENAME
Next
From: Michael Paquier
Date:
Subject: Re: pgsql: Ensure correct lock level is used in ALTER ... RENAME