use exactly same size for jmp_buf.

git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@4114 1b9489fe-b721-0410-924e-b54b9192deb8
This commit is contained in:
Minero Aoki 2008-12-23 17:56:48 +00:00
parent 4cb2818d45
commit 4df58b564d
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,8 @@
// setjmp.hb
typedef char[160] jmp_buf;
typedef char[160] sigjmp_buf;
// sizeof(jmp_buf)==156 on Linux/i386/glibc2.3.
typedef char[156] jmp_buf;
typedef char[156] sigjmp_buf;
extern int setjmp(jmp_buf buf);
extern int sigsetjmp(sigjmp_buf buf, int savesigs);