Crossbuild patch, appropriate for wine?

Alexandre Julliard julliard at
Fri Apr 4 07:21:42 CDT 2008

Robert Shearman <rob at> writes:

> Actually, I think the best place to fix this is in 
> include/wine/exception.h. I also think it would be better to use 
> "defined(__MINGW32__) && !defined(USE_COMPILER_EXCEPTIONS)." This is 
> because that is the platform that can't use the exception macros 
> implemented on top of sigsetjmp, and if the developer defines 
> "USE_COMPILER_EXCEPTIONS" then it is telling us that their compiler 
> supports __try, __except and __finally (there have been custom builds of 
> MinGW that include support for native exception handling).

I don't think we want to disable exceptions, that will just lead to
broken builds. It should be possible to make the sigsetjmp variant work
for MinGW.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list