From 4df58b564d3914305efb1a5bf0aa83031f398d38 Mon Sep 17 00:00:00 2001 From: Minero Aoki Date: Tue, 23 Dec 2008 17:56:48 +0000 Subject: [PATCH] use exactly same size for jmp_buf. git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@4114 1b9489fe-b721-0410-924e-b54b9192deb8 --- import/setjmp.hb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/import/setjmp.hb b/import/setjmp.hb index 7e0ed6b..d58ca1f 100644 --- a/import/setjmp.hb +++ b/import/setjmp.hb @@ -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);