0422da9782
starting in the late 1980s. The system can be obtained from Bell Labs at http://plan9.bell-labs.com/plan9 and runs on PCs and a variety of other platforms. Plan 9 became a convenient platform for experimenting with new ideas, applications, and services. Plan 9 from User Space provides many of the ideas, applications, and services from Plan 9 on Unix-like systems. It runs on FreeBSD (x86), Linux (x86 and PowerPC), Mac OS X (PowerPC), OpenBSD (x86), and SunOS (Sparc). testing/feedback and ok landry@
13 lines
476 B
Plaintext
13 lines
476 B
Plaintext
$OpenBSD: patch-src_libthread_threadimpl_h,v 1.1.1.1 2012/06/26 15:07:17 pascal Exp $
|
|
--- src/libthread/threadimpl.h.orig Thu Oct 27 21:23:52 2011
|
|
+++ src/libthread/threadimpl.h Thu Oct 27 21:24:31 2011
|
|
@@ -56,6 +56,8 @@ extern void makecontext(ucontext_t*, void(*)(), int,
|
|
# define ucontext_t libthread_ucontext_t
|
|
# if defined __i386__
|
|
# include "386-ucontext.h"
|
|
+# elif defined __amd64__
|
|
+# include "x86_64-ucontext.h"
|
|
# else
|
|
# include "power-ucontext.h"
|
|
# endif
|