fix tabling compilation

This commit is contained in:
Vitor Santos Costa 2010-02-10 13:16:08 +00:00
parent 95e596a8a1
commit 05c3b22322

View File

@ -132,10 +132,10 @@ typedef struct
int sba_end_; int sba_end_;
int sba_size_; int sba_size_;
#endif /* SBA */ #endif /* SBA */
#if (defined(YAPOR) || defined(TABLING)) && defined(THREADS) #endif /* YAPOR || THREADS */
#if (defined(YAPOR) || defined(TABLING))
struct local_data *LOCAL_; struct local_data *LOCAL_;
#endif #endif
#endif /* YAPOR || THREADS */
#if PUSH_REGS #if PUSH_REGS
/* On a X86 machine, the best solution is to keep the /* On a X86 machine, the best solution is to keep the
X registers on a global variable, whose address is known between X registers on a global variable, whose address is known between
@ -700,7 +700,7 @@ EXTERN inline void restore_B(void) {
#ifdef COROUTINING #ifdef COROUTINING
#define DelayedVars Yap_REGS.DelayedVars_ #define DelayedVars Yap_REGS.DelayedVars_
#endif #endif
#if (defined(YAPOR) || defined(TABLING)) && defined(THREADS) #if defined(YAPOR) || defined(TABLING)
#define LOCAL Yap_REGS.LOCAL_ #define LOCAL Yap_REGS.LOCAL_
#endif #endif
#define CurrentModule Yap_REGS.CurrentModule_ #define CurrentModule Yap_REGS.CurrentModule_