initialise LOCAL in system_malloc (obs from Jose Santos).
This commit is contained in:
parent
d9016fa650
commit
d476e36a90
|
@ -253,6 +253,9 @@ static void
|
||||||
InitHeap(void)
|
InitHeap(void)
|
||||||
{
|
{
|
||||||
Yap_heap_regs = (struct various_codes *)calloc(1, sizeof(struct various_codes));
|
Yap_heap_regs = (struct various_codes *)calloc(1, sizeof(struct various_codes));
|
||||||
|
#if defined(YAPOR) || defined(TABLING)
|
||||||
|
LOCAL = REMOTE; /* point to the first area */
|
||||||
|
#endif /* YAPOR || TABLING */
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Reference in New Issue