diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2019-07-18 20:46:00 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2019-07-18 20:46:00 -0400 |
commit | 20863ac85bcf047feeeba8295d0f9bcecef6f636 (patch) | |
tree | efc58685cb556334f83733b085e27b9f92a5c0db /include/text.h | |
parent | 7fd327d63279bb01492da57be6d6091be435d19c (diff) |
Resolve compile warnings in modern
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; |