wintrust/tests: Fix build with MSVC. (try 2)

Thomas Faber thfabba at gmx.de
Fri Jun 22 03:34:49 CDT 2012


- Fixes empty braces used as initializers
- Works around FIELD_OFFSET(struct, array_member[index]) not being
  recognized as constant by MSVC

Try 2:
do not do the initialization at runtime, but instead rely on
FIELD_OFFSET(struct, array_member) still being constant
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-wintrust-tests-Fix-build-with-MSVC.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120622/8408af1b/attachment-0001.ksh>


More information about the wine-patches mailing list