mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
subproc: check for __NR_clone3
This commit is contained in:
parent
419dc1efb6
commit
dda6d2f596
@ -11,8 +11,7 @@
|
||||
#include <linux/wait.h>
|
||||
#include <asm/unistd.h>
|
||||
#include <linux/sched.h>
|
||||
#ifndef CLONE_CLEAR_SIGHAND // FIXME introduced in linux 5.5
|
||||
#define CLONE_CLEAR_SIGHAND 0x100000000ULL
|
||||
#if (defined(__NR_clone3) && defined(P_PIDFD) && defined(CLONE_CLEAR_SIGHAND))
|
||||
#endif
|
||||
#define USING_PIDFD
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user