setjmp.h 493 B

123456789101112131415161718
  1. /* Copyright (C) 2004, Yoshinori Sato <ysato@users.sourceforge.jp> */
  2. /* Define the machine-dependent type `jmp_buf'. H8/300 version. */
  3. #ifndef _BITS_SETJMP_H
  4. #define _BITS_SETJMP_H 1
  5. #if !defined _SETJMP_H && !defined _PTHREAD_H
  6. # error "Never include <bits/setjmp.h> directly; use <setjmp.h> instead."
  7. #endif
  8. typedef struct
  9. {
  10. unsigned long __regs[4]; /* save er4 - er7(sp) */
  11. unsigned long __pc; /* the return address */
  12. } __jmp_buf[1];
  13. #endif /* bits/setjmp.h */