diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2006-10-11 19:20:31 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2006-10-11 19:20:31 +0000 |
commit | f8fe93f9b805a8c12f7ce16dfb69e02b7faa03f3 (patch) | |
tree | 472743843837cd86635dafef2e7fc4fae1501da1 | |
parent | 9565e2333cc262e789d2c29dcdb06860e8039ce4 (diff) | |
download | newlib-f8fe93f9b805a8c12f7ce16dfb69e02b7faa03f3.zip newlib-f8fe93f9b805a8c12f7ce16dfb69e02b7faa03f3.tar.gz newlib-f8fe93f9b805a8c12f7ce16dfb69e02b7faa03f3.tar.bz2 |
2006-10-11 Yang Tse <yangsita@gmail.com>
* setjmp.h: Use __extension__ keyword for gcc's braced-groups.
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/include/machine/setjmp.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 0216110..190819d 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -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. diff --git a/newlib/libc/include/machine/setjmp.h b/newlib/libc/include/machine/setjmp.h index 93e0440..3c9b6be 100644 --- a/newlib/libc/include/machine/setjmp.h +++ b/newlib/libc/include/machine/setjmp.h @@ -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]) ? \ |