Compiling Wine on Cygwin/with MSVC

Hans Leidekker hans at it.vu.nl
Tue Oct 5 03:25:20 CDT 2004


On Tuesday 5 October 2004 10:09, Hans Leidekker wrote:

> What compiler/platform are you on? This code is protected like this:
> 
> #if defined(__GNUC__) && !defined(__MINGW32__) && !defined(__APPLE__)
> 
> So if you're on Cygwin we may need to add && !defined(__CYGWIN__) or 
> whatever is the appropriate define for that platform. As discussed
> earlier on this list, the .previous directive is ELF specific.
> 
> BTW, is there a define that identifies an ELF platform, a PE platform?
> Should we introduce those? That would make the check simpler and not 
> as open ended like it is now.

Wait, I see now that there's another use of .previous which is protected
differently. The path below may solve your problem.

 -Hans

-------------- next part --------------
A non-text attachment was scrubbed...
Name: include_wine_port_h.diff
Type: text/x-diff
Size: 653 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20041005/c5e8a882/include_wine_port_h.bin


More information about the wine-devel mailing list