12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- #ifndef _BITS_SETJMP_H
- #define _BITS_SETJMP_H 1
- #if !defined _SETJMP_H && !defined _PTHREAD_H
- # error "Never include <bits/setjmp.h> directly; use <setjmp.h> instead."
- #endif
- #ifndef _ASM
- #ifdef __ARM_EABI__
- typedef int __jmp_buf[64] __attribute__((aligned (8)));
- #elif defined __MAVERICK__
- typedef int __jmp_buf[34];
- #else
- typedef int __jmp_buf[22];
- #endif
- #endif
- #define __JMP_BUF_SP 8
- #define _JMPBUF_UNWINDS(jmpbuf, address) \
- ((void *) (address) < (void *) (jmpbuf[__JMP_BUF_SP]))
- #endif
|