--- rpl/src/interruptions.c 2016/10/11 11:30:30 1.187 +++ rpl/src/interruptions.c 2017/01/18 15:44:23 1.191 @@ -1,7 +1,7 @@ /* ================================================================================ RPL/2 (R) version 4.1.26 - Copyright (C) 1989-2016 Dr. BERTRAND Joël + Copyright (C) 1989-2017 Dr. BERTRAND Joël This file is part of RPL/2. @@ -2028,7 +2028,7 @@ sortie_interruption_depassement_pile(voi return; } -#ifndef BROKEN_SIGSEGV +#ifdef HAVE_SIGSEGV_RECOVERY void interruption_depassement_pile(int urgence, stackoverflow_context_t scp) { @@ -2059,8 +2059,13 @@ interruption_violation_access(void *adre { // Il peut s'agir d'un dépassement de pile. - sigsegv_leave_handler(sortie_interruption_depassement_pile, - (void *) &routine_recursive, NULL, NULL); +# ifdef HAVE_SIGSEGV_RECOVERY + sigsegv_leave_handler(sortie_interruption_depassement_pile, + (void *) &routine_recursive, NULL, NULL); +# else + sortie_interruption_depassement_pile((void *) &routine_recursive, + NULL, NULL); +# endif } // On est dans une bonne vieille violation d'accès. On essaie