ddraw.h: disable DDEVICEIDENTIFIER size alignment
Dmitry Timoshkov
dmitry at codeweavers.com
Sun Oct 11 12:01:30 CDT 2009
"Markus Stockhausen" <markus.stockhausen at collogia.de> wrote:
> > Did you compile this test with MSVC and the Microsoft headers on
> > Windows?
> >
>
> I'm sorry but I have no Windows environment. Only Linux/GCC.
I have compiled the test alone and it fails here:
ddrawmodes.c:37: Test failed: DDDEVICEIDENTIFIER2 too large (misaligned)
It's natural that the structure is 8-byte aligned since it has a
64-bit member (LARGE_INTEGER). ddraw.h in PSDK doesn't have any
forced packing either.
--
Dmitry.
More information about the wine-devel
mailing list