1 #include <aros/debug.h>
2 #include <dos/dosextens.h>
6 int __nocommandline
= 1;
10 const unsigned int dl_offset
= offsetof(struct DeviceList
, dl_Name
);
11 const unsigned int di_offset
= offsetof(struct DevInfo
, dvi_Name
);
12 const unsigned int gen_offset
= offsetof(struct DosList
, dol_Name
);
14 if ((dl_offset
!= di_offset
) || (dl_offset
!= gen_offset
))
16 bug("Broken DosList alignment.\n");
17 bug("DosList.dol_Name : %u bytes\n", gen_offset
);
18 bug("DeviceList.dl_Name: %u bytes\n", dl_offset
);
19 bug("DevInfo.dvi_Name : %u bytes\n", di_offset
);