2006-10-11 Yang Tse <yangsita@gmail.com>
* setjmp.h: Use __extension__ keyword for gcc's braced-groups.
This commit is contained in:
parent
9565e2333c
commit
f8fe93f9b8
|
@ -1,3 +1,7 @@
|
||||||
|
2006-10-11 Yang Tse <yangsita@gmail.com>
|
||||||
|
|
||||||
|
* setjmp.h: Use __extension__ keyword for gcc's braced-groups.
|
||||||
|
|
||||||
2006-10-11 Corinna Vinschen <corinna@vinschen.de>
|
2006-10-11 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
|
* libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
|
||||||
|
|
|
@ -257,6 +257,7 @@ typedef int sigjmp_buf[_JBLEN+2];
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
|
|
||||||
#define sigsetjmp(env, savemask) \
|
#define sigsetjmp(env, savemask) \
|
||||||
|
__extension__ \
|
||||||
({ \
|
({ \
|
||||||
sigjmp_buf *_sjbuf = &(env); \
|
sigjmp_buf *_sjbuf = &(env); \
|
||||||
((*_sjbuf)[_SAVEMASK] = savemask,\
|
((*_sjbuf)[_SAVEMASK] = savemask,\
|
||||||
|
@ -265,6 +266,7 @@ typedef int sigjmp_buf[_JBLEN+2];
|
||||||
})
|
})
|
||||||
|
|
||||||
#define siglongjmp(env, val) \
|
#define siglongjmp(env, val) \
|
||||||
|
__extension__ \
|
||||||
({ \
|
({ \
|
||||||
sigjmp_buf *_sjbuf = &(env); \
|
sigjmp_buf *_sjbuf = &(env); \
|
||||||
((((*_sjbuf)[_SAVEMASK]) ? \
|
((((*_sjbuf)[_SAVEMASK]) ? \
|
||||||
|
|
Loading…
Reference in New Issue