initial darwin
This commit is contained in:
parent
1aa9c533e0
commit
50f7ec339a
5 changed files with 156 additions and 3 deletions
|
|
@ -16,6 +16,10 @@ extern int swapcontext(ucontext_t*, ucontext_t*);
|
|||
extern void makecontext(ucontext_t*, void(*)(), int, ...);
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__)
|
||||
# include "Darwin-ucontext.h"
|
||||
#endif
|
||||
|
||||
typedef struct Context Context;
|
||||
typedef struct Execjob Execjob;
|
||||
typedef struct Proc Proc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue