SWI portability
This commit is contained in:
parent
7cf4e9442c
commit
4b5ef10caf
@ -19,7 +19,7 @@
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "pl-incl.h"
|
||||
@ -173,7 +173,7 @@ unifyList(term_t term, list_ctx *ctx)
|
||||
|
||||
a = valTermRef(term);
|
||||
deRef(a);
|
||||
if ( !unify_ptrs(a, ctx->lp PASS_LD) )
|
||||
if ( !unify_ptrs(a, ctx->lp, 0 PASS_LD) )
|
||||
{ gTop = ctx->lp;
|
||||
return FALSE;
|
||||
}
|
||||
@ -191,13 +191,13 @@ unifyDiffList(term_t head, term_t tail, list_ctx *ctx)
|
||||
|
||||
a = valTermRef(head);
|
||||
deRef(a);
|
||||
if ( !unify_ptrs(a, ctx->lp PASS_LD) )
|
||||
if ( !unify_ptrs(a, ctx->lp, 0 PASS_LD) )
|
||||
{ gTop = ctx->lp;
|
||||
return FALSE;
|
||||
}
|
||||
a = valTermRef(tail);
|
||||
deRef(a);
|
||||
if ( !unify_ptrs(a, ctx->gstore PASS_LD) )
|
||||
if ( !unify_ptrs(a, ctx->gstore, 0 PASS_LD) )
|
||||
{ gTop = ctx->lp;
|
||||
return FALSE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user