postgresql/src/include/port
Thomas Munro 077bf2f275 Remove configure probes for sys/un.h and struct sockaddr_un.
<sys/un.h> is in SUSv3 and every targeted Unix has it.  Some Windows
tool chains may still lack the approximately equivalent header
<afunix.h>, so we already defined struct sockaddr_un ourselves on that
OS for now.  To harmonize things a bit, move our definition into a new
header src/include/port/win32/sys/un.h.

HAVE_UNIX_SOCKETS is now defined unconditionally.  We migh remove that
in a separate commit, pending discussion.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/CA%2BhUKG%2BL_3brvh%3D8e0BW_VfX9h7MtwgN%3DnFHP5o7X2oZucY9dg%40mail.gmail.com
2022-08-14 00:09:47 +12:00
..
atomics Remove HP/Intel Itanium support. 2022-07-08 14:14:57 +12:00
win32 Remove configure probes for sys/un.h and struct sockaddr_un. 2022-08-14 00:09:47 +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 HP/Intel Itanium support. 2022-07-08 14:14:57 +12: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 Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
openbsd.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
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 Remove configure probe for sys/uio.h. 2022-08-14 00:07:17 +12:00
pg_lfind.h Introduce optimized routine for linear searches of arrays 2022-08-10 10:48:29 +07:00
pg_pthread.h Add missing pthread_barrier_t. 2021-03-10 17:44:04 +13:00
simd.h Support SSE2 intrinsics where available 2022-08-04 13:49:18 +07:00
solaris.h Remove obsolete HAVE_BUGGY_SOLARIS_STRTOD 2020-08-15 11:27:41 +02:00
win32.h Remove configure probes for sys/un.h and struct sockaddr_un. 2022-08-14 00:09:47 +12:00
win32_port.h Simplify gettimeofday for Windows. 2022-08-07 12:35:36 +12:00
win32ntdll.h Add wal_sync_method=fdatasync for Windows. 2022-07-20 13:55:52 +12:00