initial darwin

This commit is contained in:
rsc 2005-01-07 21:47:30 +00:00
parent 1aa9c533e0
commit 50f7ec339a
5 changed files with 156 additions and 3 deletions

View file

@ -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;