2006-10-11 Yang Tse <yangsita@gmail.com>

* setjmp.h: Use __extension__ keyword for gcc's braced-groups.
This commit is contained in:
Jeff Johnston 2006-10-11 19:20:31 +00:00
parent 9565e2333c
commit f8fe93f9b8
2 changed files with 6 additions and 0 deletions

View File

@ -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>
* libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.

View File

@ -257,6 +257,7 @@ typedef int sigjmp_buf[_JBLEN+2];
#if defined(__GNUC__)
#define sigsetjmp(env, savemask) \
__extension__ \
({ \
sigjmp_buf *_sjbuf = &(env); \
((*_sjbuf)[_SAVEMASK] = savemask,\
@ -265,6 +266,7 @@ typedef int sigjmp_buf[_JBLEN+2];
})
#define siglongjmp(env, val) \
__extension__ \
({ \
sigjmp_buf *_sjbuf = &(env); \
((((*_sjbuf)[_SAVEMASK]) ? \