mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-26 00:59:55 +00:00
Add gcc_struct to all packed structures when compiling with mingw.
Just "packed" doesn't always pack the way we expect.
This commit is contained in:
1 parent
ae8159b9ca
commit
7e47e27bd8
105 files changed
+403
-391
No files matched your search
+1
-1
@@ -48,7 +48,7 @@ struct head
|
||||
char devmajor[8];
|
||||
char devminor[8];
|
||||
char prefix[155];
|
||||
} __attribute__ ((packed));
|
||||
} GRUB_PACKED;
|
||||
|
||||
static inline unsigned long long
|
||||
read_number (const char *str, grub_size_t size)
|
||||
|
||||
Reference in new issue
Block a user