From e16c8c573db128dc0168f56ae127f55c547f4e43 Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Wed, 3 Aug 2016 11:14:27 -0500 Subject: [PATCH] fix multioo#def --- C/init.c | 4 ++++ H/YapHeap.h | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/C/init.c b/C/init.c index 22e67274c..d010009c1 100755 --- a/C/init.c +++ b/C/init.c @@ -57,6 +57,10 @@ static char SccsId[] = "%W% %G%"; #include #endif +#ifdef YAPOR +Atom AtomFoundVar, AtomFreeTerm, AtomNil, AtomDot; +#endif // !YAPOR + int Yap_output_msg = FALSE; #if DEBUG diff --git a/H/YapHeap.h b/H/YapHeap.h index 2513f2804..c86532ac5 100755 --- a/H/YapHeap.h +++ b/H/YapHeap.h @@ -183,11 +183,9 @@ typedef struct various_codes { } all_heap_codes; -Atom AtomFoundVar, AtomFreeTerm, AtomNil, AtomDot; #include "tatoms.h" - #include "h0struct.h" #include "h0globals.h"