openbsd-ports/plan9/plan9port/patches/patch-src_libthread_threadimpl_h

13 lines
476 B
Plaintext
Raw Normal View History

$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