diff --git a/OPTYap/tab.macros.h b/OPTYap/tab.macros.h index 46334b115..3d42cfce1 100644 --- a/OPTYap/tab.macros.h +++ b/OPTYap/tab.macros.h @@ -164,7 +164,7 @@ static inline tg_sol_fr_ptr CUT_prune_tg_solution_frames(tg_sol_fr_ptr, int); #define STACK_NOT_EMPTY(STACK, STACK_BASE) (STACK) != (STACK_BASE) #define AUX_STACK_CHECK_EXPAND(STACK, STACK_LIMIT) if ((STACK_LIMIT) >= (STACK)) EXPAND_AUX_STACK(STACK) #define STACK_CHECK_EXPAND(STACK, STACK_LIMIT) if ((STACK_LIMIT) >= (STACK)+4096) EXPAND_STACK(STACK) -#ifdef YAPOR && !defined(THREADS) +#if defined(YAPOR) && !defined(THREADS) #define EXPAND_AUX_STACK(STACK) Yap_Error(INTERNAL_ERROR, TermNil, "stack full (AUX_STACK_CHECK_EXPAND)"); #define EXPAND_STACK(STACK) Yap_Error(INTERNAL_ERROR, TermNil, "stack full (STACK_CHECK_EXPAND)"); #else