include: fix mingw64 build

Francois Gouget fgouget at codeweavers.com
Mon Jul 30 09:19:18 CDT 2012


On Sat, 28 Jul 2012, Jacek Caban wrote:

> Hi Francois,
> 
> On 7/28/12 9:22 AM, Francois Gouget wrote:
> > Note that I had to add a couple of patches to get Wine to compile:
> > * crtdefs.h uses wchar_t but does not define it which was causing
> >    trouble depending on the order of the includes in the source.
> > * One of the _mingw.h includes was causing trouble. Replacing it with a
> >    crtdefs.h include like the others fixed the issue. There is still a
> >    ton of these so I'm not sure these packages are a full fix. But Wine
> >    compiles at least.
> 
> What's the error you get? I could successfully build Wine with current
> mingw-w64 2.0 branch without errors. I think we should make sure to upstream
> such fixes either to Wine or mingw-w64, depending where appropriate.

I cannot reproduce the problem anymore (even when reverting my extra 
patch). It may be that something went wrong the first time I rebuilt the 
MinGW64 package so that it was missing some of your patch.

-- 
Francois Gouget <fgouget at codeweavers.com>, 



More information about the wine-devel mailing list