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:
Richard Frith-MacDonald 2007-07-31 12:09:42 +00:00
parent 6a7732579b
commit 3e17a107ae
7 changed files with 25 additions and 12 deletions

View file

@ -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)