From e7ae61181c96663ca6b5620f78a0d1fdd3a93002 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 30 Oct 2007 13:33:12 -0400 Subject: libthread: Apple OS X 10.5 (Leopard) tweaks (Jeff Sickel, Bakul Shah) --- src/libthread/threadimpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libthread/threadimpl.h') diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h index bc18d3a4..3d68299a 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__) +#if defined(__APPLE__) && !defined(__DARWIN_UNIX03) # define mcontext libthread_mcontext # define mcontext_t libthread_mcontext_t # define ucontext libthread_ucontext -- cgit v1.2.3