* libc/include/machine/setjmp.h (sigjmp_buf): Fix definition of
sigjmp_buf size if _JBTYPE is defined.
This commit is contained in:
parent
c2e3ff288d
commit
2d8f1ea62a
@ -1,3 +1,8 @@
|
||||
2013-02-28 Corinna Vinschen <vinschen@redhat.com>
|
||||
|
||||
* libc/include/machine/setjmp.h (sigjmp_buf): Fix definition of
|
||||
sigjmp_buf size if _JBTYPE is defined.
|
||||
|
||||
2013-02-26 Corinna Vinschen <vinschen@redhat.com>
|
||||
|
||||
* libc/include/malloc.h (struct mallinfo): Convert type of all members
|
||||
|
@ -305,7 +305,8 @@ extern "C" {
|
||||
|
||||
/* POSIX sigsetjmp/siglongjmp macros */
|
||||
#ifdef _JBTYPE
|
||||
typedef _JBTYPE sigjmp_buf[_JBLEN+1+(sizeof (sigset_t)/sizeof (_JBTYPE))];
|
||||
typedef _JBTYPE sigjmp_buf[_JBLEN+1+((sizeof (_JBTYPE) + sizeof (sigset_t) - 1)
|
||||
/sizeof (_JBTYPE))];
|
||||
#else
|
||||
typedef int sigjmp_buf[_JBLEN+1+(sizeof (sigset_t)/sizeof (int))];
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user