protect from both old runtime and old compiler

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39042 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2015-10-08 09:13:32 +00:00
parent f6271e8e48
commit bf5038e2ac
14 changed files with 29 additions and 29 deletions

View file

@ -332,7 +332,7 @@ next_arg(const char *typePtr, NSArgumentInfo *info, char *outTypes)
info->align = __alignof__(char*);
break;
#ifdef _C_BOOL
#if __GNUC__ > 2 && defined(_C_BOOL)
case _C_BOOL:
info->size = sizeof(_Bool);
info->align = __alignof__(_Bool);