mirror of
https://github.com/frida/tinycc
synced 2025-03-12 10:43:02 +03:00
added _Bool in bit-fields
This commit is contained in:
parent
c9c05ca5f0
commit
6b52984ce4
1
tcc.c
1
tcc.c
@ -6371,6 +6371,7 @@ static void struct_decl(CType *type, int u)
|
||||
if (bt != VT_INT &&
|
||||
bt != VT_BYTE &&
|
||||
bt != VT_SHORT &&
|
||||
bt != VT_BOOL &&
|
||||
bt != VT_ENUM)
|
||||
error("bitfields must have scalar type");
|
||||
bsize = size * 8;
|
||||
|
Loading…
x
Reference in New Issue
Block a user