fix miscompilation without COROUTINING
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1074 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
4b11ed9401
commit
a0c13b2415
@ -496,6 +496,7 @@ static Int p_coroutining(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
#if COROUTINING
|
||||
static Term
|
||||
ListOfWokenGoals(void) {
|
||||
return Yap_ReadTimedVar(WokenGoals);
|
||||
@ -505,6 +506,7 @@ Term
|
||||
Yap_ListOfWokenGoals(void) {
|
||||
return ListOfWokenGoals();
|
||||
}
|
||||
#endif
|
||||
|
||||
/* return a list of awoken goals */
|
||||
static Int p_awoken_goals(void)
|
||||
|
Reference in New Issue
Block a user