libthread: better OS X 10.5 test (Jeff Sickel)
This commit is contained in:
parent
32ee64c230
commit
ea55a42c96
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ extern int swapcontext(ucontext_t*, ucontext_t*);
|
||||||
extern void makecontext(ucontext_t*, void(*)(), int, ...);
|
extern void makecontext(ucontext_t*, void(*)(), int, ...);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__APPLE__) && !defined(__DARWIN_UNIX03)
|
#if defined(__APPLE__) && MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_4
|
||||||
# define mcontext libthread_mcontext
|
# define mcontext libthread_mcontext
|
||||||
# define mcontext_t libthread_mcontext_t
|
# define mcontext_t libthread_mcontext_t
|
||||||
# define ucontext libthread_ucontext
|
# define ucontext libthread_ucontext
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue