From 05c3b22322bfd31fede381ab04bd436803528a4d Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Wed, 10 Feb 2010 13:16:08 +0000 Subject: [PATCH] fix tabling compilation --- H/Regs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/H/Regs.h b/H/Regs.h index 44e38a4ae..934c67d67 100644 --- a/H/Regs.h +++ b/H/Regs.h @@ -132,10 +132,10 @@ typedef struct int sba_end_; int sba_size_; #endif /* SBA */ -#if (defined(YAPOR) || defined(TABLING)) && defined(THREADS) +#endif /* YAPOR || THREADS */ +#if (defined(YAPOR) || defined(TABLING)) struct local_data *LOCAL_; #endif -#endif /* YAPOR || THREADS */ #if PUSH_REGS /* On a X86 machine, the best solution is to keep the X registers on a global variable, whose address is known between @@ -700,7 +700,7 @@ EXTERN inline void restore_B(void) { #ifdef COROUTINING #define DelayedVars Yap_REGS.DelayedVars_ #endif -#if (defined(YAPOR) || defined(TABLING)) && defined(THREADS) +#if defined(YAPOR) || defined(TABLING) #define LOCAL Yap_REGS.LOCAL_ #endif #define CurrentModule Yap_REGS.CurrentModule_