From 7f96630ddf58fa99e93a76a423c106ced70fbc7a Mon Sep 17 00:00:00 2001 From: Matt Jolly Date: Tue, 29 Oct 2024 12:00:34 +1000 Subject: [PATCH] meson: define `SETPGRP_VOID` All current systems have a setpgrp whose signature conforms to Posix. We need to set this to use the correct implementation internally but we don't need to check for it. Signed-off-by: Matt Jolly --- meson.build | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/meson.build b/meson.build index 50f1404ae..68e0e22f4 100644 --- a/meson.build +++ b/meson.build @@ -176,6 +176,14 @@ foreach f, v : functions endif endforeach +# SETPGRP_VOID is obsolete +# All current systems have a setpgrp whose signature conforms to Posix. +# We need to set this to use the correct implementation internally +# but we don't need to check for it. +if conf.has('HAVE_SETPGRP') + conf.set10('SETPGRP_VOID', true) +endif + # Dependencies. all_found_deps = []