[PATCH] msvcmaker: added COM_NO_WINDOWS_H to support midl-generated headers for __WINESRC__ components.

Reece Dunn msclrhd at googlemail.com
Sat Oct 18 05:05:18 CDT 2008


Hi,

When building the wine solution generated by msvcmaker, the components
generate errors that projects that define __WINESRC__ should not
include windows.h.

I tracked this error down to windows.h being included from unknwn.h
(generated from unknwn.idl). This is from the code generated by VC9's
midl compiler.

The midl generated code allows you to define COM_NO_WINDOWS_H to
prevent the inclusion of windows.h. That define is thus added to those
provided by msvcmaker.

- Reece
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-msvcmaker-added-COM_NO_WINDOWS_H-to-support-midl-ge.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20081018/793f9353/attachment.txt 


More information about the wine-patches mailing list