include: fix mingw64 build

Jacek Caban jacek at codeweavers.com
Sat Jul 28 05:30:06 CDT 2012


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.

Jacek





More information about the wine-devel mailing list