From 7f0a712c888ff66c2d144a102364391f95f903df Mon Sep 17 00:00:00 2001 From: Costa Vitor Date: Mon, 15 Jun 2009 13:51:30 -0500 Subject: [PATCH] fix call to trim_trail on solaris --- C/unify.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/C/unify.c b/C/unify.c index b87a901c7..aa7c2ba74 100644 --- a/C/unify.c +++ b/C/unify.c @@ -690,5 +690,9 @@ Yap_TrimTrail(void) #undef setregs #define setregs() #endif +#if SHADOW_HB + register CELL *HBREG = HB; +#endif + #include "trim_trail.h" }