We need to undef _FORTIFY_SOURCE before our first include, so as to
avoid the extra checks it does on longjmp which don't play well with
our coroutine stuff.

Signed-off-by: Hans de Goede <[email protected]>
---
 gtk/continuation.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gtk/continuation.c b/gtk/continuation.c
index 9cdd578..fa958b9 100644
--- a/gtk/continuation.c
+++ b/gtk/continuation.c
@@ -17,11 +17,11 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 
USA
  */
+#undef _FORTIFY_SOURCE
 
 #include <config.h>
 
 #include "continuation.h"
-#undef _FORTIFY_SOURCE
 
 /*
  * va_args to makecontext() must be type 'int', so passing
-- 
1.7.6.1

_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to