Compiling Wine on Cygwin/with MSVC

Steven Edwards steven at codeweavers.com
Mon Oct 4 16:16:54 CDT 2004


On Mon, 2004-10-04 at 15:47, Martin Fuchs wrote:
> Compiling...
> comctl32undoc.c
> d:\wine-msvc\include\windows.h(23) : fatal error C1189: #error :  Wine should not include windows.h internally
> 
> This all worked some months ago.
> Can someone explain, what's wrong here?

I think the order of inclusion is wrong so some headers get included
from the PSDK which in turn includes a copy of Windows.h. I have seen
this problem before but I normally just move all of the Wine headers
when I am testing under MS_VC.

Thanks
Steven





More information about the wine-devel mailing list