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:
vsc 2004-06-13 03:12:38 +00:00
parent 4b11ed9401
commit a0c13b2415
1 changed files with 2 additions and 0 deletions

View File

@ -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)