improve checking for _setjmp, I hope.

This commit is contained in:
Vítor Santos Costa 2010-12-15 12:47:21 +00:00
parent 1ca5c92469
commit d1665c7462
2 changed files with 2 additions and 0 deletions

1
configure vendored
View File

@ -8574,6 +8574,7 @@ main ()
{
jmp_buf RestartEnv;
_setjmp (RestartEnv);
_longjmp (RestartEnv, 1);
;

View File

@ -1575,6 +1575,7 @@ AC_TRY_COMPILE(
,
jmp_buf RestartEnv;
_setjmp (RestartEnv);
_longjmp (RestartEnv, 1);
,
yap_cv__setjmp=yes,yap_cv__setjmp=no)])