From b8f742db850ffc99333a97ab54fc820c6de0fd98 Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 11 Jan 2005 17:43:53 +0000 Subject: os x changes --- src/libthread/threadimpl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libthread/threadimpl.h') diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h index 0334fe30..842b81d8 100644 --- a/src/libthread/threadimpl.h +++ b/src/libthread/threadimpl.h @@ -17,6 +17,10 @@ extern void makecontext(ucontext_t*, void(*)(), int, ...); #endif #if defined(__APPLE__) +# define mcontext libthread_mcontext +# define mcontext_t libthread_mcontext_t +# define ucontext libthread_ucontext +# define ucontext_t libthread_ucontext_t # include "Darwin-ucontext.h" #endif -- cgit v1.2.3