[Spice-commits] gtk/continuation.c

Hans de Goede jwrdegoede at kemper.freedesktop.org
Fri Sep 2 06:49:54 PDT 2011


 gtk/continuation.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ab64d17bfaf83a54543f7347a8343f2a5e41a64e
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Fri Sep 2 15:38:31 2011 +0200

    gtk/continuation.c: undef _FORTIFY_SOURCE earlier
    
    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 <hdegoede at redhat.com>

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


More information about the Spice-commits mailing list