Maarten Lankhorst : kernel32: Work around safety check on siglongjmp.

Alexandre Julliard julliard at winehq.org
Fri Jan 29 10:56:36 CST 2010


Module: wine
Branch: master
Commit: 3d7aabd887ddf1190798e4f7dea31040a16a16d1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3d7aabd887ddf1190798e4f7dea31040a16a16d1

Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Tue Jan 26 13:05:28 2010 +0100

kernel32: Work around safety check on siglongjmp.

---

 dlls/kernel32/fiber.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dlls/kernel32/fiber.c b/dlls/kernel32/fiber.c
index c866661..f6bebf8 100644
--- a/dlls/kernel32/fiber.c
+++ b/dlls/kernel32/fiber.c
@@ -21,6 +21,10 @@
  * - proper handling of 16-bit stack and signal stack
  */
 
+/* Fortify source chokes on siglongjmp stack switching, so disable it */
+#undef _FORTIFY_SOURCE
+#define _FORTIFY_SOURCE 0
+
 #include "config.h"
 #include "wine/port.h"
 




More information about the wine-cvs mailing list