diff --git a/src/lwp_ucontext.c b/src/lwp_ucontext.c index 82174b6..8c99b9a 100644 --- a/src/lwp_ucontext.c +++ b/src/lwp_ucontext.c @@ -14,6 +14,10 @@ Coda are listed in the file CREDITS. Additional copyrights #*/ +/* avoid breaking longjmp stack switching */ +#undef _FORTIFY_SOURCE +#define _FORTIFY_SOURCE 0 + #include #include #include @@ -21,9 +25,6 @@ Coda are listed in the file CREDITS. #include #include -/* avoid breaking longjmp stack switching */ -#undef _FORTIFY_SOURCE -#define _FORTIFY_SOURCE 0 #include "lwp_ucontext.h" /* Some architectures have a stack that grows up instead of down */