mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Fixup for usage with flag to turn off typeof()
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25363 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6a7732579b
commit
3e17a107ae
7 changed files with 25 additions and 12 deletions
|
@ -304,7 +304,7 @@ GS_EXPORT void _NSRemoveHandler( NSHandler *handler );
|
|||
|
||||
#define NS_ENDHANDLER }}}
|
||||
|
||||
#define NS_VALRETURN(val) do { typeof(val) temp = (val); \
|
||||
#define NS_VALRETURN(val) do { __typeof__(val) temp = (val); \
|
||||
_NSRemoveHandler(&NSLocalHandler); \
|
||||
return(temp); } while (0)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue