fix thread compilation.
This commit is contained in:
parent
ddcf1f003b
commit
04ef859158
@ -4673,7 +4673,8 @@ EndPredDefs
|
|||||||
|
|
||||||
void *
|
void *
|
||||||
Yap_GetStreamHandle(Atom at)
|
Yap_GetStreamHandle(Atom at)
|
||||||
{ atom_t a;
|
{ GET_LD
|
||||||
|
atom_t a;
|
||||||
IOSTREAM *s;
|
IOSTREAM *s;
|
||||||
|
|
||||||
a = YAP_SWIAtomFromAtom(at);
|
a = YAP_SWIAtomFromAtom(at);
|
||||||
@ -4683,7 +4684,8 @@ Yap_GetStreamHandle(Atom at)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void *Yap_GetInputStream(Atom at)
|
void *Yap_GetInputStream(Atom at)
|
||||||
{ atom_t a;
|
{ GET_LD
|
||||||
|
atom_t a;
|
||||||
IOSTREAM *s;
|
IOSTREAM *s;
|
||||||
if ( at == AtomUser ) {
|
if ( at == AtomUser ) {
|
||||||
if ( (s = getStream(Suser_input)) )
|
if ( (s = getStream(Suser_input)) )
|
||||||
@ -4705,7 +4707,8 @@ void *Yap_GetInputStream(Atom at)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void *Yap_GetOutputStream(Atom at)
|
void *Yap_GetOutputStream(Atom at)
|
||||||
{ atom_t a;
|
{ GET_LD
|
||||||
|
atom_t a;
|
||||||
IOSTREAM *s;
|
IOSTREAM *s;
|
||||||
if ( at == AtomUser ) {
|
if ( at == AtomUser ) {
|
||||||
if ( (s = getStream(Suser_output)) )
|
if ( (s = getStream(Suser_output)) )
|
||||||
|
Reference in New Issue
Block a user