mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Enable _C_BOOL on non GNU C compilers
This commit is contained in:
parent
852ec7be7d
commit
40f88bc622
14 changed files with 30 additions and 30 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue