try again
This commit is contained in:
parent
33a102fc28
commit
a81eb4ca63
1 changed files with 4 additions and 2 deletions
|
|
@ -43,8 +43,10 @@ extern pid_t rfork_thread(int, void*, int(*)(void*), void*);
|
|||
#endif
|
||||
|
||||
#if defined(__arm__)
|
||||
int _getmcontext(mcontext_t*);
|
||||
void _setmcontext(mcontext_t*);
|
||||
int getmcontext(mcontext_t*);
|
||||
void setmcontext(mcontext_t*);
|
||||
#define setcontext(u) setmcontext(&(u)->uc_mcontext)
|
||||
#define getcontext(u) getmcontext(&(u)->uc_mcontext)
|
||||
#endif
|
||||
|
||||
typedef struct Context Context;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue