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

Thomas Faber thfabba at
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: <>

More information about the wine-patches mailing list