Closed njh closed 8 years ago
It causes compile errors on Mac OS X because the ucontext functions were removed from POSIX. Having checked through the Broker.c source code, I can't find any references to things defined in context.h:
ucontext_t
int getcontext(ucontext_t *);
int setcontext(const ucontext_t *);
void makecontext(ucontext_t *, void (*)(void), int, ...);
int swapcontext(ucontext_t *, const ucontext_t *);
Signed-off-by: Nicholas Humfrey njh@aelius.com
It causes compile errors on Mac OS X because the ucontext functions were removed from POSIX. Having checked through the Broker.c source code, I can't find any references to things defined in context.h:
ucontext_t
int getcontext(ucontext_t *);
int setcontext(const ucontext_t *);
void makecontext(ucontext_t *, void (*)(void), int, ...);
int swapcontext(ucontext_t *, const ucontext_t *);
Signed-off-by: Nicholas Humfrey njh@aelius.com