Index: SingleSource/UnitTests/ms_struct-bitfield-1.c =================================================================== --- SingleSource/UnitTests/ms_struct-bitfield-1.c +++ SingleSource/UnitTests/ms_struct-bitfield-1.c @@ -25,12 +25,21 @@ int sizeof_packoddity = sizeof(PackOddity); int offsetof_foo = offsetof(PackOddity, foo); int offsetof_pv2 = offsetof(PackOddity, pv2); +#if defined(__i386) + if (sizeof_packoddity != 20) + abort(); + if (offsetof_foo != 4) + abort(); + if (offsetof_pv2 != 16) + abort(); +#else if (sizeof_packoddity != 40) abort(); if (offsetof_foo != 8) abort(); if (offsetof_pv2 != 32) abort(); +#endif return 0; }