aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/threadimpl.h
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-04-21 03:34:44 +0000
committerrsc <devnull@localhost>2006-04-21 03:34:44 +0000
commit110c707dda7d14af657a0cc184e60eb42af30c88 (patch)
treec7e2cb832189c183e7af67ec01cecb9d4a1bc4c6 /src/libthread/threadimpl.h
parent6b11fe88cb3dd3a8181f56c24a33e065067d2170 (diff)
downloadplan9port-110c707dda7d14af657a0cc184e60eb42af30c88.tar.gz
plan9port-110c707dda7d14af657a0cc184e60eb42af30c88.tar.bz2
plan9port-110c707dda7d14af657a0cc184e60eb42af30c88.zip
darwin 386 start
Diffstat (limited to 'src/libthread/threadimpl.h')
-rw-r--r--src/libthread/threadimpl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h
index d1f3e938..12b8a998 100644
--- a/src/libthread/threadimpl.h
+++ b/src/libthread/threadimpl.h
@@ -26,7 +26,11 @@ extern void makecontext(ucontext_t*, void(*)(), int, ...);
# define mcontext_t libthread_mcontext_t
# define ucontext libthread_ucontext
# define ucontext_t libthread_ucontext_t
-# include "power-ucontext.h"
+# if defined(__i386__)
+# include "386-ucontext.h"
+# else
+# include "power-ucontext.h"
+# endif
#endif
#if defined(__OpenBSD__)