From 983e1541182a50636ab163bcd34ad5a27d8b6ddc Mon Sep 17 00:00:00 2001 From: dan Date: Mon, 5 Jun 2000 23:41:26 +0000 Subject: [PATCH] - Fixed a bug with #define DEBUG (code didn't compile in that case) --- wrlib/CmapAlloc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wrlib/CmapAlloc.c b/wrlib/CmapAlloc.c index 9da1d7c9..4f8e188a 100644 --- a/wrlib/CmapAlloc.c +++ b/wrlib/CmapAlloc.c @@ -290,7 +290,7 @@ static int icbrt_with_bits(a, bits) return icbrt_with_guess(a, a>>2*bits/3); } -#ifdef _X_ROOT_STATS +#ifdef DEBUG int icbrt_loopcount; #endif @@ -309,7 +309,7 @@ static int icbrt_with_guess(a, guess) { register int delta; -#ifdef _X_ROOT_STATS +#ifdef DEBUG icbrt_loopcount = 0; #endif if (a <= 0) @@ -318,7 +318,7 @@ static int icbrt_with_guess(a, guess) guess = 1; do { -#ifdef _X_ROOT_STATS +#ifdef DEBUG icbrt_loopcount++; #endif delta = (guess - a/(guess*guess))/3;