kernel32: Work around safety check on siglongjmp

Maarten Lankhorst m.b.lankhorst at
Tue Jan 26 05:49:43 CST 2010

Since fibres have their own stack, the paranoid version of siglongjmp 
enabled with _FORTIFY_SOURCE thinks that the stack pointer is garbled. 
Since ubuntu 10.4, fedora, and gentoo are all affected, just undef 
_FORTIFY_SOURCE before including setjmp.h here.

This fixes bug 21405
The other calls of longjmp are unaffected, since wine either uses its 
own functions, or uses it in a way that doesn't cause stack switching.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fiber.patch
Type: text/x-diff
Size: 420 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list