added pack statements for gcc
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@132
This commit is contained in:
parent
596f88bed8
commit
9e353cf2d7
5 changed files with 35 additions and 10 deletions
|
@ -23,7 +23,9 @@
|
|||
|
||||
|
||||
|
||||
#if defined (_MSC_VER)
|
||||
#pragma pack(1)
|
||||
#endif
|
||||
struct Dynamic_Functionality {
|
||||
RealPt static_table; /* 00h DWORD address of static functionality table */
|
||||
Bit8u cur_mode; /* 04h BYTE video mode in effect */
|
||||
|
@ -68,9 +70,13 @@ struct Dynamic_Functionality {
|
|||
7 reserved
|
||||
*/
|
||||
Bit8u reserved2[13]; /* 33h 13 BYTEs reserved (00h) */
|
||||
};
|
||||
}
|
||||
#if defined (_MSC_VER)
|
||||
;
|
||||
#pragma pack()
|
||||
|
||||
#else
|
||||
__attribute__ ((packed));
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue