summaryrefslogtreecommitdiff
path: root/lib/libc_r/arch/i386/uthread_machdep.h
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>1998-11-09 03:13:22 +0000
committerDavid Leonard <d@cvs.openbsd.org>1998-11-09 03:13:22 +0000
commitff47464de5e68e9c49fe312c953f54b2e90f546c (patch)
tree4ec0e7f13d619e1b5bf6abfd7125a4ec17569568 /lib/libc_r/arch/i386/uthread_machdep.h
parent1b2b2c2386c6cc5ebffc769b8a39b80d47e4e0d0 (diff)
sync with FreeBSD (rwlock, gc thread, man pages)
add (broken) mips md stuff fix some const warnings add sigaltstack() stub another hash at getting shlib auto-init to work (mips/elf and i386/a.out)
Diffstat (limited to 'lib/libc_r/arch/i386/uthread_machdep.h')
-rw-r--r--lib/libc_r/arch/i386/uthread_machdep.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc_r/arch/i386/uthread_machdep.h b/lib/libc_r/arch/i386/uthread_machdep.h
index 2a296d3ae25..088ff200509 100644
--- a/lib/libc_r/arch/i386/uthread_machdep.h
+++ b/lib/libc_r/arch/i386/uthread_machdep.h
@@ -1,7 +1,7 @@
/*
* OpenBSD/i386 machine-dependent thread macros
*
- * $OpenBSD: uthread_machdep.h,v 1.1 1998/08/28 01:54:58 d Exp $
+ * $OpenBSD: uthread_machdep.h,v 1.2 1998/11/09 03:13:13 d Exp $
*/
/* save the floating point state of a thread */
@@ -29,6 +29,9 @@
- sizeof(double); \
}
+#define _thread_machdep_longjmp(a,v) longjmp(a,v)
+#define _thread_machdep_setjmp(a) setjmp(a)
+
struct _machdep_struct {
char saved_fp[108];
};