From 5015b05fc495bf3e87f8decfd1617a4a399939d4 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Sat, 18 Jun 2022 15:59:12 +0200 Subject: Replaced Linux syscall macros by libc macros. User-space programs should use the SYS_*form, as documented in syscall(2). That also adds compatibility to non-Linux systems. --- auto/isolation | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'auto/isolation') diff --git a/auto/isolation b/auto/isolation index fd35f8ed..4ade6a38 100644 --- a/auto/isolation +++ b/auto/isolation @@ -21,7 +21,7 @@ nxt_feature_test="#include #include int main() { - return __NR_clone | SIGCHLD; + return SYS_clone | SIGCHLD; }" . auto/feature @@ -68,7 +68,7 @@ nxt_feature_libs= nxt_feature_test="#include int main() { - return __NR_pivot_root; + return SYS_pivot_root; }" . auto/feature -- cgit