[2/2] gdi32/tests: fix MSVC build in bitmap.c (try 2)

Thomas Faber thfabba at gmx.de
Tue Oct 4 13:10:44 CDT 2011


Well that was embarrassing... let's try again.

This one removes uses of Variable Length Arrays for BITMAPINFO structures.
While FIELD_OFFSET() may seem constant, it is not considered so by the
compiler (or standard).
I've replaced the uses of this with HeapAlloc/HeapFree.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0004-2-2-gdi32-tests-fix-MSVC-build-in-bitmap.c.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20111004/f1f6b420/attachment-0001.ksh>


More information about the wine-patches mailing list