diff options
author | Russ Cox <rsc@swtch.com> | 2007-11-03 16:10:39 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2007-11-03 16:10:39 -0400 |
commit | ea55a42c960585a88fd31ab538b47c3aa010931c (patch) | |
tree | 1fa5f44346ba785607f5411dd66afc868f505409 /src | |
parent | 32ee64c23069d726060d710f8071ca8e9f7b310f (diff) | |
download | plan9port-ea55a42c960585a88fd31ab538b47c3aa010931c.tar.gz plan9port-ea55a42c960585a88fd31ab538b47c3aa010931c.tar.bz2 plan9port-ea55a42c960585a88fd31ab538b47c3aa010931c.zip |
libthread: better OS X 10.5 test (Jeff Sickel)
Diffstat (limited to 'src')
-rw-r--r-- | src/libthread/threadimpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h index 3d68299a..76f676f0 100644 --- a/src/libthread/threadimpl.h +++ b/src/libthread/threadimpl.h @@ -21,7 +21,7 @@ extern int swapcontext(ucontext_t*, ucontext_t*); extern void makecontext(ucontext_t*, void(*)(), int, ...); #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_t libthread_mcontext_t # define ucontext libthread_ucontext |