From bfa7285041abd3a2bf511a4999dfe0b80ed8db1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Wed, 28 Jul 2010 17:14:29 +0100 Subject: [PATCH] fix interface with Thor --- OPTYap/tab.macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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