libthread: Apple OS X 10.5 (Leopard) tweaks (Jeff Sickel, Bakul Shah)
This commit is contained in:
parent
45ac814c86
commit
e7ae61181c
3 changed files with 12 additions and 9 deletions
|
|
@ -21,7 +21,7 @@ extern int swapcontext(ucontext_t*, ucontext_t*);
|
|||
extern void makecontext(ucontext_t*, void(*)(), int, ...);
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__)
|
||||
#if defined(__APPLE__) && !defined(__DARWIN_UNIX03)
|
||||
# define mcontext libthread_mcontext
|
||||
# define mcontext_t libthread_mcontext_t
|
||||
# define ucontext libthread_ucontext
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue