From d51bb4e114701b6982ab522618b5d360547b120b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Mon, 10 Feb 2003 13:27:35 +0100 Subject: [PATCH] Oops, bugfix. Rev: src/gc.c:1.204 --- src/gc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gc.c b/src/gc.c index 651c3beb19..b94abb28cd 100644 --- a/src/gc.c +++ b/src/gc.c @@ -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.c,v 1.203 2003/02/10 10:53:25 grubba Exp $ +|| $Id: gc.c,v 1.204 2003/02/10 12:27:35 grubba Exp $ */ #include "global.h" @@ -33,7 +33,7 @@ struct callback *gc_evaluator_callback=0; #include "block_alloc.h" -RCSID("$Id: gc.c,v 1.203 2003/02/10 10:53:25 grubba Exp $"); +RCSID("$Id: gc.c,v 1.204 2003/02/10 12:27:35 grubba Exp $"); int gc_enabled = 1; @@ -197,7 +197,7 @@ static double objects_alloced = 0.0; static double objects_freed = 0.0; static double gc_time = 0.0, non_gc_time = 0.0; static cpu_time_t last_gc_end_time = 0; -#if CPU_TIME_IS_THREAD_LOCAL == NO +#if !defined(PIKE_THREADS) || (CPU_TIME_IS_THREAD_LOCAL == NO) cpu_time_t auto_gc_time = 0; #endif -- GitLab