libmach: use #pragma pack to force 4 byte alignment of bootexec.h structures for amd64
This commit is contained in:
parent
3889ada959
commit
dbbe430ec7
1 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
#pragma pack on
|
||||
|
||||
struct coffsect
|
||||
{
|
||||
char name[8];
|
||||
|
@ -135,3 +137,5 @@ struct i386exec
|
|||
struct coffsect ibsss;
|
||||
struct coffsect icomments;
|
||||
};
|
||||
|
||||
#pragma pack off
|
||||
|
|
Loading…
Reference in a new issue