changes intended to allow use of _Bool throughout

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39010 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2015-09-22 09:46:10 +00:00
parent deba4a80da
commit 82e7f44a2c
17 changed files with 291 additions and 40 deletions

View file

@ -324,6 +324,13 @@ static NSDecimalNumber *one;
llval = (long long)v;
break;
}
#if __GNUC__ != 2
case _C_BOOL:
{
llval = (long long)((*(unsigned char *)value == 0) ? 0 : 1);
break;
}
#endif
#ifdef _C_LNGLNG
case _C_LNGLNG:
#else