Remove configure probes for sys/ipc.h, sys/sem.h, sys/shm.h.
Thomas Munro <tmunro@postgresql.org>
Remove configure probes for sys/ipc.h, sys/sem.h, sys/shm.h. These are in SUSv2 and every targeted Unix system has them. It's not hard to avoid including them on Windows system because they're mostly used in platform-specific translation units. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/CA%2BhUKG%2BL_3brvh%3D8e0BW_VfX9h7MtwgN%3DnFHP5o7X2oZucY9dg%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| config/c-library.m4 | modified | +1 −4 |
| configure | modified | +2 −5 |
| configure.ac | modified | +0 −3 |
| src/backend/port/sysv_sema.c | modified | +1 −5 |
| src/backend/port/sysv_shmem.c | modified | +2 −6 |
| src/backend/storage/ipc/dsm_impl.c | modified | +1 −5 |
| src/include/pg_config.h.in | modified | +0 −9 |
| src/tools/msvc/Solution.pm | modified | +0 −3 |
Discussion
- Cleaning up historical portability baggage 108 messages · 2022-07-10 → 2025-06-10