aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorDavid Mertens <dcmertens.perl@gmail.com>2016-11-22 16:33:12 -0500
committerDavid Mertens <dcmertens.perl@gmail.com>2016-11-28 09:01:12 -0500
commitd2e2f423820ca00c1f1d56fadd744a7e1d345955 (patch)
tree471d4ae451a52e315fb967e3c061df30a46552e6 /tcc.h
parent3c68a8c6c04e1a527e2d80f2586cb2df96f862c6 (diff)
downloadtinycc-d2e2f423820ca00c1f1d56fadd744a7e1d345955.tar.gz
tinycc-d2e2f423820ca00c1f1d56fadd744a7e1d345955.tar.bz2
Implement gcc bitfield algorithm; add -mms-bitfields
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcc.h b/tcc.h
index 180838d..cbdebd3 100644
--- a/tcc.h
+++ b/tcc.h
@@ -605,6 +605,7 @@ struct TCCState {
int old_struct_init_code; /* use old algorithm to init array in struct when there is no '{' used.
Liuux 2.4.26 can't find initrd when compiled with a new algorithm */
int dollars_in_identifiers; /* allows '$' char in indentifiers */
+ int ms_bitfields; /* if true, emulate MS algorithm for aligning bitfields */
/* warning switches */
int warn_write_strings;