Обсуждение: pgsql: Fix assorted portability issues in commit 896fcdb23.

Поиск
Список
Период
Сортировка

pgsql: Fix assorted portability issues in commit 896fcdb23.

От
Tom Lane
Дата:
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(-)