Enable _C_BOOL on non GNU C compilers

This commit is contained in:
Frederik Seiffert 2021-08-07 16:37:52 +02:00 committed by Frederik Seiffert
parent 852ec7be7d
commit 40f88bc622
14 changed files with 30 additions and 30 deletions

View file

@ -1103,7 +1103,7 @@ static NSUInteger _defaultBehavior = NSNumberFormatterBehavior10_4;
* don't think it matters, because we don't bother with anything
* smaller than int for NSNumbers
*/
#if __GNUC__ > 2 && defined(_C_BOOL)
#if defined(_C_BOOL) && (!defined(__GNUC__) || __GNUC__ > 2)
case _C_BOOL:
STRING_FROM_NUMBER(unum_format, (int)[anObject boolValue]);
break;