change LOCALS macros.
This commit is contained in:
@@ -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)
|
||||
|
@@ -1098,7 +1098,7 @@ pl_readline(term_t flag)
|
||||
|
||||
static Term
|
||||
StreamPosition(IOSTREAM *st)
|
||||
{
|
||||
{ GET_LD
|
||||
Term t[4];
|
||||
if (!st)
|
||||
st = Suser_input;
|
||||
|
Reference in New Issue
Block a user