2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
6 #include <aros/debug.h>
7 #include <dos/dosextens.h>
11 int __nocommandline
= 1;
15 const unsigned int dl_offset
= offsetof(struct DeviceList
, dl_Name
);
16 const unsigned int di_offset
= offsetof(struct DevInfo
, dvi_Name
);
17 const unsigned int gen_offset
= offsetof(struct DosList
, dol_Name
);
19 if ((dl_offset
!= di_offset
) || (dl_offset
!= gen_offset
))
21 bug("Broken DosList alignment.\n");
22 bug("DosList.dol_Name : %u bytes\n", gen_offset
);
23 bug("DeviceList.dl_Name: %u bytes\n", dl_offset
);
24 bug("DevInfo.dvi_Name : %u bytes\n", di_offset
);