pgsql: Fix assorted portability issues in commit 896fcdb23.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix assorted portability issues in commit 896fcdb23.
Date: 2020-03-25 23:37:39
Message-ID: E1jHFad-0003DX-3c@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix assorted portability issues in commit 896fcdb23.

Some platforms require libssl to be linked explicitly in the new
SSL test module. Borrow contrib/sslinfo's code for that.

Since src/test/modules/Makefile now has a variable SUBDIRS list,
it needs to follow the ALWAYS_SUBDIRS protocol for that (cf.
comments in Makefile.global.in).

Blindly try to fix MSVC build failures by adding PGDLLIMPORT.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/13c98bdfc41eefb75da24fd2a886b0ef5314b7f6

Modified Files
--------------
src/include/libpq/libpq-be.h | 2 +-
src/include/libpq/libpq.h | 4 ++--
src/test/modules/Makefile | 4 +++-
src/test/modules/ssl_passphrase_callback/Makefile | 2 ++
4 files changed, 8 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-03-25 23:44:55 Re: pgsql: Provide a TLS init hook
Previous Message Tom Lane 2020-03-25 22:17:21 Re: pgsql: Provide a TLS init hook