From d8e46424aae169465ad11b73b91db056612c4871 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 29 Apr 2020 21:31:30 +0200 Subject: [PATCH] wait4.2: Update wait3() feature test macro requirements for changes in glibc 2.26 Signed-off-by: Michael Kerrisk --- man2/wait4.2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/man2/wait4.2 b/man2/wait4.2 index 60424879b1..785747b781 100644 --- a/man2/wait4.2 +++ b/man2/wait4.2 @@ -54,7 +54,11 @@ Feature Test Macro Requirements for glibc (see .PP .ad l .BR wait3 (): - Since glibc 2.19: + Since glibc 2.26: + _DEFAULT_SOURCE || + (_XOPEN_SOURCE\ >=\ 500 && + ! (_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600)) + From glibc 2.19 to 2.25: _DEFAULT_SOURCE || _XOPEN_SOURCE\ >=\ 500 Glibc 2.19 and earlier: _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 -- 2.39.2