postgresql/src/include/port
Andres Freund 0e497eadb1 mingw: Define PGDLLEXPORT as __declspec (dllexport) as done for msvc
While mingw would otherwise fall back to
__attribute__((visibility("default"))), that appears to only work as long as
no symbols are declared with __declspec(dllexport). But we can end up with
some, e.g. plpython's Py_Init.

It's quite possible we should do the same for cygwin, but I don't have a test
environment for that...

Discussion: http://postgr.es/m/20220928022724.erzuk5v4ai4b53do@awork3.anarazel.de
Discussion: http://postgr.es/m/20220928025242.ugf7t5ugxxgmkraa@awork3.anarazel.de
2022-09-30 10:50:05 -07:00
..
atomics Remove uses of register due to incompatibility with C++17 and up 2022-09-24 12:08:37 -07:00
win32 Remove configure probe for netinet/tcp.h. 2022-08-18 16:31:11 +12:00
win32_msvc windows: msvc: Define STDIN/OUT/ERR_FILENO. 2022-07-18 17:21:54 -07:00
aix.h Attempt to work around a 32bit xlc compiler bug from a different place. 2015-08-08 01:19:02 +02:00
atomics.h Remove unused symbol __aarch64 2022-08-25 13:37:40 +07:00
cygwin.h Simplify declaring variables exported from libpgcommon and libpgport. 2021-11-29 11:00:00 -05:00
darwin.h Refer to OS X as "macOS", except for the port name which is still "darwin". 2016-09-25 15:40:57 -04:00
freebsd.h Remove configure probe for fdatasync. 2022-08-05 16:37:38 +12:00
linux.h pgindent run for 9.4 2014-05-06 12:12:18 -04:00
netbsd.h
openbsd.h
pg_bitutils.h Extend size_t support in pg_bitutils.h. 2022-07-22 09:40:39 +12:00
pg_bswap.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_crc32c.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_iovec.h Restore pg_pread and friends. 2022-09-29 13:12:11 +13:00
pg_lfind.h Fix broken cast on MSVC 2022-08-29 17:44:35 +07:00
pg_pthread.h Add missing pthread_barrier_t. 2021-03-10 17:44:04 +13:00
simd.h Fix sign-compare warnings arising from port/simd.h 2022-09-04 09:23:57 +07:00
solaris.h Remove obsolete HAVE_BUGGY_SOLARIS_STRTOD 2020-08-15 11:27:41 +02:00
win32.h mingw: Define PGDLLEXPORT as __declspec (dllexport) as done for msvc 2022-09-30 10:50:05 -07:00
win32_port.h windows: Set UMDF_USING_NTSTATUS globally, include ntstatus.h 2022-09-28 21:59:15 -07:00
win32ntdll.h windows: Set UMDF_USING_NTSTATUS globally, include ntstatus.h 2022-09-28 21:59:15 -07:00