summaryrefslogtreecommitdiff
path: root/lib/libpthread/arch/alpha
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>1999-01-17 23:49:50 +0000
committerDavid Leonard <d@cvs.openbsd.org>1999-01-17 23:49:50 +0000
commit4a7fc69d62f684a7548d428f1a09bcefbabe0b6f (patch)
tree065c4b70643fe8a9eacbe5f48901a9cc0f0363d3 /lib/libpthread/arch/alpha
parent9ebd7c855719a914d8220cf8b7ab845bd006e6fc (diff)
mi+md jmp_buf; save i386s fs and gs for WINE (csapuntz@stanford.edu)
Diffstat (limited to 'lib/libpthread/arch/alpha')
-rw-r--r--lib/libpthread/arch/alpha/uthread_machdep.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libpthread/arch/alpha/uthread_machdep.h b/lib/libpthread/arch/alpha/uthread_machdep.h
index 3c8ea0489b1..b9cf839f6bd 100644
--- a/lib/libpthread/arch/alpha/uthread_machdep.h
+++ b/lib/libpthread/arch/alpha/uthread_machdep.h
@@ -1,7 +1,7 @@
/*
* OpenBSD/alpha machine-dependent thread macros
*
- * $OpenBSD: uthread_machdep.h,v 1.1 1998/08/28 01:54:57 d Exp $
+ * $OpenBSD: uthread_machdep.h,v 1.2 1999/01/17 23:49:48 d Exp $
*/
/* save the floating point state of a thread */
@@ -31,6 +31,11 @@
- sizeof(double); \
}
+#define _thread_machdep_longjmp(a,v) longjmp(a,v)
+#define _thread_machdep_setjmp(a) setjmp(a)
+
+typedef jmp_buf _machdep_jmp_buf;
+
struct _machdep_struct {
char saved_fp[108];
};