change LOCALS macros.

This commit is contained in:
Joao
2011-05-04 10:11:41 +01:00
parent 18ce4dd78b
commit dc3c54c164
47 changed files with 1448 additions and 1448 deletions

View File

@@ -255,7 +255,7 @@ extern PL_local_data_t lds;
// THIS HAS TO BE ABSTRACTED
#define GLOBAL_LD (PL_local_data_p)
#define GLOBAL_LD (LOCAL_PL_local_data_p)
#if !defined(O_PLMT) && !defined(YAPOR)
#define LOCAL_LD (GLOBAL_LD)

View File

@@ -1098,7 +1098,7 @@ pl_readline(term_t flag)
static Term
StreamPosition(IOSTREAM *st)
{
{ GET_LD
Term t[4];
if (!st)
st = Suser_input;