提交 798a12ec 编写于 作者: R Rich Felker

ucontext is no longer in the standard, so use gnu-friendly struct name

note that this header is still bogus and needs a lot of work and
factoring into arch-dependent parts...
上级 417dbe92
...@@ -18,9 +18,9 @@ typedef struct { ...@@ -18,9 +18,9 @@ typedef struct {
unsigned long __oldmask, __cr2; unsigned long __oldmask, __cr2;
} mcontext_t; } mcontext_t;
typedef struct __ucontext { typedef struct ucontext {
unsigned long uc_flags; unsigned long uc_flags;
struct __ucontext *uc_link; struct ucontext *uc_link;
stack_t uc_stack; stack_t uc_stack;
mcontext_t uc_mcontext; mcontext_t uc_mcontext;
sigset_t uc_sigmask; sigset_t uc_sigmask;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册