kernel32: Work around safety check on siglongjmp, try 2

Maarten Lankhorst m.b.lankhorst at
Tue Jan 26 06:05:28 CST 2010

Since fibres have their own stack, the paranoid version of siglongjmp 
enabled with _FORTIFY_SOURCE thinks that the stack pointer is garbled, 
and aborts the program. Since ubuntu 10.4, fedora, and gentoo are all 
affected, undef _FORTIFY_SOURCE for this file.

This fixes bug 21405
Apparently _FORTIFY_SOURCE defines __USE_FORTIFY_LEVEL which tells what 
level is to be used after including /usr/include/features.h, so it has 
to be redefined before any header is included
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fiber.txt
URL: <>

More information about the wine-patches mailing list