about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/hpux/bits/setjmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/hpux/bits/setjmp.h')
-rw-r--r--sysdeps/unix/sysv/hpux/bits/setjmp.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/hpux/bits/setjmp.h b/sysdeps/unix/sysv/hpux/bits/setjmp.h
new file mode 100644
index 0000000000..216d7bdd64
--- /dev/null
+++ b/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 */
+