diff options
author | garak <garakmon@gmail.com> | 2019-07-20 12:30:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-20 12:30:41 -0400 |
commit | c39d25ff4d3cf6cb8b3a6fea208de0cc3c6a7c8c (patch) | |
tree | bce0030d8901a6b84e705baca169989fff1a4f71 /include/text.h | |
parent | dfa3e079c0f55565fc60a6a1ba0ef04de9be94c2 (diff) | |
parent | 4d5c1ca03b4e7db3c44c71afaa01b1549a282a19 (diff) |
Merge branch 'master' into navdata
Diffstat (limited to 'include/text.h')
-rw-r--r-- | include/text.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/text.h b/include/text.h index eba3d0c4e..d3ff663bb 100644 --- a/include/text.h +++ b/include/text.h @@ -166,7 +166,11 @@ struct TextPrinter void (*callback)(struct TextPrinterTemplate *, u16); // 0x10 - union __attribute__((packed)) { + union +#if !MODERN + __attribute__((packed)) +#endif + { struct TextPrinterSubStruct sub; u8 fields[7]; } subUnion; |