--- gforth/engine/signals.c 2007/12/31 18:40:25 1.39 +++ gforth/engine/signals.c 2012/03/16 20:34:23 1.43 @@ -1,6 +1,6 @@ /* signal handling - Copyright (C) 1995,1996,1997,1998,2000,2003,2006,2007 Free Software Foundation, Inc. + Copyright (C) 1995,1996,1997,1998,2000,2003,2006,2007,2011 Free Software Foundation, Inc. This file is part of Gforth. @@ -29,9 +29,9 @@ #if !defined(apollo) && !defined(MSDOS) #include #endif -/* #include */ #include #include +#include #include "io.h" #ifndef HAVE_STACK_T @@ -92,7 +92,7 @@ graceful_exit (int sig) exit (0x80|sig); } -jmp_buf throw_jmp_buf; +__thread jmp_buf throw_jmp_buf; void throw(int code) {