mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +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
|
@ -61,7 +61,7 @@ typeSize(const char* type)
|
|||
case _C_ULNG_LNG: return sizeof(unsigned long long);
|
||||
case _C_FLT: return sizeof(float);
|
||||
case _C_DBL: return sizeof(double);
|
||||
#if __GNUC__ > 2 && defined(_C_BOOL)
|
||||
#if defined(_C_BOOL) && (!defined(__GNUC__) || __GNUC__ > 2)
|
||||
case _C_BOOL: return sizeof(_Bool);
|
||||
#endif
|
||||
case _C_PTR: return sizeof(void*);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue