Fix assorted portability issues in commit 896fcdb23.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 25 Mar 2020 23:37:30 +0000 (19:37 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 25 Mar 2020 23:37:30 +0000 (19:37 -0400)
commit13c98bdfc41eefb75da24fd2a886b0ef5314b7f6
tree145f90a3de722176a39412baa75860c5ca54183d
parent896fcdb230e729652d37270c8606ccdc45212f0d
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.
src/include/libpq/libpq-be.h
src/include/libpq/libpq.h
src/test/modules/Makefile
src/test/modules/ssl_passphrase_callback/Makefile