mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
* 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>
|
2013-02-26 Corinna Vinschen <vinschen@redhat.com>
|
||||||
|
|
||||||
* libc/include/malloc.h (struct mallinfo): Convert type of all members
|
* libc/include/malloc.h (struct mallinfo): Convert type of all members
|
||||||
|
@ -305,7 +305,8 @@ extern "C" {
|
|||||||
|
|
||||||
/* POSIX sigsetjmp/siglongjmp macros */
|
/* POSIX sigsetjmp/siglongjmp macros */
|
||||||
#ifdef _JBTYPE
|
#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
|
#else
|
||||||
typedef int sigjmp_buf[_JBLEN+1+(sizeof (sigset_t)/sizeof (int))];
|
typedef int sigjmp_buf[_JBLEN+1+(sizeof (sigset_t)/sizeof (int))];
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user