From 9e350ebf882c73ca85a564cbd10415661ff67d3a Mon Sep 17 00:00:00 2001 From: Juan Jose Garcia Ripoll Date: Sun, 11 Oct 2009 13:36:00 +0200 Subject: [PATCH] src/h/config.h.in: do not use _setjmp/_longjmp because they cause problems when unwinding from a SIGFPE. --- src/h/config.h.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/h/config.h.in b/src/h/config.h.in index 658f6feb3..3658b27ad 100644 --- a/src/h/config.h.in +++ b/src/h/config.h.in @@ -190,8 +190,13 @@ typedef unsigned @CL_FIXNUM_TYPE@ cl_hashkey; #define ECL_MULTIPLE_VALUES_LIMIT 64 /* A setjmp that does not save signals */ +#if 0 #define ecl_setjmp @ECL_SETJMP@ #define ecl_longjmp @ECL_LONGJMP@ +#else +#define ecl_setjmp setjmp +#define ecl_longjmp longjmp +#endif /* * Structure/Instance limits. The index to a slot must fit in the