1 Jun 2008 04:54
Re: jitc_finish_eframex
Sam Steingold <sds <at> gnu.org>
2008-06-01 02:54:46 GMT
2008-06-01 02:54:46 GMT
> * Yaroslav Kavenchuk <xnirapuhx <at> ghg.ol> [2008-05-31 12:25:07 +0300]: > > Sam Steingold wrote: >> when HAVE__JMP is not defined, we do not #define setjmp and longjmp to >> _setjmp and _longjmp, respectively, and use the system-provided setjmp & >> longjmp as is. > > We must redefine setjmp but not redefine longjmp. Included patch does it. > > -- > WBR, Yaroslav Kavenchuk. > > --- src/lispbibl.d.orig 2008-05-26 22:22:01 +0300 > +++ src/lispbibl.d 2008-05-31 11:49:03 +0300 > <at> <at> -1377,6 +1377,10 <at> <at> > > /* non-local exits */ > #include <setjmp.h> > +#if defined(__MINGW32__) && !defined(HAVE__JMP) > + #undef setjmp > + #define setjmp _setjmp > +#endif > #if (defined(UNIX) || defined(__MINGW32__)) && defined(HAVE__JMP) > /* The "_" routines are more efficient (do not save/restore signal masks, > see http://article.gmane.org/gmane.lisp.clisp.devel/18227 or why? I think we should be using _matching_ versions - i.e., either setjmp & longjmp or _setjmp & _longjmp.(Continue reading)
RSS Feed