summaryrefslogtreecommitdiff
path: root/ports/sysdeps/unix/sysv/hpux/bits/setjmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/sysdeps/unix/sysv/hpux/bits/setjmp.h')
-rw-r--r--ports/sysdeps/unix/sysv/hpux/bits/setjmp.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/ports/sysdeps/unix/sysv/hpux/bits/setjmp.h b/ports/sysdeps/unix/sysv/hpux/bits/setjmp.h
new file mode 100644
index 000000000..216d7bdd6
--- /dev/null
+++ b/ports/sysdeps/unix/sysv/hpux/bits/setjmp.h
@@ -0,0 +1,16 @@
+/* Define the machine-dependent type `jmp_buf'. Stub version. */
+
+#ifndef _SETJMP_H
+# error "Never include <bits/setjmp.h> directly; use <setjmp.h> instead."
+#endif
+
+/* XXX This should go into different files!!! */
+
+#ifdef __hp9000s300
+typedef int __jmp_buf[100];
+#endif /* __hp9000s300 */
+
+#ifdef __hp9000s800
+typedef double __jmp_buf[25];
+#endif /* __hp9000s800 */
+