diff options
| author | Joe Soroka <gits@joesoroka.com> | 2011-03-18 17:47:35 -0700 |
|---|---|---|
| committer | Joe Soroka <gits@joesoroka.com> | 2011-03-18 17:47:35 -0700 |
| commit | 06a7c415a90766e246ae2a1dceadf31e120a8644 (patch) | |
| tree | 12d55f60515c035f0bfa4cf6ffc6b3a3c559e82c /tcc.h | |
| parent | 4062d787daf10be5a4ea48854330eb17123fd2d5 (diff) | |
| download | tinycc-06a7c415a90766e246ae2a1dceadf31e120a8644.tar.gz tinycc-06a7c415a90766e246ae2a1dceadf31e120a8644.tar.bz2 | |
revert complicated & broken flexible array member handling
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -282,8 +282,7 @@ typedef struct AttributeDef { func_args : 5, mode : 4, weak : 1, - resize : 1, - fill : 10; + fill : 11; struct Section *section; int alias_target; /* token */ } AttributeDef; @@ -295,7 +294,6 @@ typedef struct AttributeDef { #define FUNC_ARGS(r) (((AttributeDef*)&(r))->func_args) #define FUNC_ALIGN(r) (((AttributeDef*)&(r))->aligned) #define FUNC_PACKED(r) (((AttributeDef*)&(r))->packed) -#define ARRAY_RESIZE(r) (((AttributeDef*)&(r))->resize) #define ATTR_MODE(r) (((AttributeDef*)&(r))->mode) #define INT_ATTR(ad) (*(int*)(ad)) |
