1
0
Fork 0

added pack statements for gcc

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@131
This commit is contained in:
Peter Veenstra 2002-08-09 13:18:30 +00:00
parent c1488b6983
commit 596f88bed8

View file

@ -22,8 +22,9 @@
#include <dos_system.h>
#include <mem.h>
#if defined (_MSC_VER)
#pragma pack(1)
#endif#
struct CommandTail{
Bit8u count; /* number of bytes returned */
char buffer[127]; /* the buffer itself */
@ -94,9 +95,13 @@ struct FCB {
Bit8u reserved[8];
Bit8u current_relative_record_number; //open doesn't set this
Bit32u rel_record; //open does not handle this
};
}
#if defined (_MSC_VER)
;
#pragma pack()
#else
__attribute__ ((packed));
#endif
struct DOS_Date {
Bit16u year;