widl: Make identifiers file more compatible with midl.
Jacek Caban
jacek at codeweavers.com
Thu Jan 9 05:15:02 CST 2014
This is partial fix for Mozilla compilation, which #includes _i.c files
in a C++ file. In that scenario, initguid.h is pulled, causing problems.
MIDL doesn't include initguid.h (although it may use INITGUID if requested).
This is not enough to fix Mozilla, but it's a step forward. For full
fix, we'd need to stop using DEFINE_GUID in generated files, which would
require bigger changes in Wine.
---
tools/widl/header.c | 2 +-
tools/widl/header.h | 2 --
tools/widl/widl.c | 37 +++++++++++++++++++++++++++++++++----
3 files changed, 34 insertions(+), 7 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-widl-Make-identifiers-file-more-compatible-with-midl.diff
Type: text/x-patch
Size: 4228 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140109/f2b5cdb8/attachment.bin>
More information about the wine-patches
mailing list