pgsql: Fix assorted portability issues in commit 896fcdb23.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

pgsql: Fix assorted portability issues in commit 896fcdb23.

Tom Lane-2
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(-)