提交 47e72e10 编写于 作者: R Rich Felker

avoid errors in ucontext.h when no feature test macros are defined

上级 f7dff185
......@@ -10,10 +10,12 @@ extern "C" {
#define ucontext __ucontext
#endif
int getcontext(ucontext_t *);
void makecontext(ucontext_t *, void (*)(void), int, ...);
struct __ucontext;
int getcontext(struct __ucontext *);
void makecontext(struct __ucontext *, void (*)(void), int, ...);
int setcontext(const ucontext_t *);
int swapcontext(ucontext_t *, const ucontext_t *);
int swapcontext(struct __ucontext *, const struct __ucontext *);
#ifdef __cplusplus
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册