Remove configure probe for setsid. setsid() is in SUSv2 and all targeted Unix systems have it. Retain a HAVE_SETSID macro, defined on Unix only. That's easier to understand than !defined(WIN32), for the optional code it governs.
Reviewed-by: Tom Lane <[email protected]> Reviewed-by: Andres Freund <[email protected]> Discussion: https://postgr.es/m/CA+hUKGJ3LHeP9w5Fgzdr4G8AnEtJ=z=p6hgdem4qygeux5b...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/adeef67834cc3db14c36430c1421cf4ed8a809d3 Modified Files -------------- configure | 2 +- configure.ac | 1 - src/include/pg_config.h.in | 3 --- src/include/port.h | 1 + src/tools/msvc/Solution.pm | 1 - 5 files changed, 2 insertions(+), 6 deletions(-)
