From 31fca8f72f6fc8ca295d530ccf167f3e4d8f3296 Mon Sep 17 00:00:00 2001 From: Martin Stjernholm <mast@lysator.liu.se> Date: Wed, 29 Sep 2004 01:51:01 +0200 Subject: [PATCH] Corrected faults after patch from 7.6. Rev: src/gc.h:1.117 --- src/gc.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/gc.h b/src/gc.h index 7103059ca2..ba81639e15 100644 --- a/src/gc.h +++ b/src/gc.h @@ -2,7 +2,7 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: gc.h,v 1.116 2004/09/27 21:37:23 mast Exp $ +|| $Id: gc.h,v 1.117 2004/09/28 23:51:01 mast Exp $ */ #ifndef GC_H @@ -166,7 +166,7 @@ struct marker * references. Set to 0 during mark pass if a nonweak reference is * found. Decreased during zap weak pass as gc_do_weak_free() is * called. */ -#if defined(DO_PIKE_CLEANUP) || defined(PIKE_DEBUG) +#ifdef PIKE_DEBUG INT32 xrefs; /* Known external references. Increased by gc_mark_external(). */ INT32 saved_refs; @@ -237,8 +237,6 @@ struct marker /* The thing has been visited by gc_checked_as_weak(). */ #define GC_WATCHED 0x01000000 /* The thing has been set under watch by gc_watch(). */ -#endif -#ifdef DO_PIKE_CLEANUP #define GC_CLEANUP_FREED 0x02000000 /* The thing was freed by the cleanup code under the assumption that * references were lost. */ -- GitLab