summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-09-24 17:00:09 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2011-09-24 17:00:09 -0700
commitd7d2ad7dde7b2653aa1e08e9339674bc40f1560a (patch)
treeed2bf8572f52b76e903346db8c78fcd75be56178
parent66492163cb244fbe22c67bebb14c0918dd11eab6 (diff)
Fix build with -DDEBUG
https://bugs.freedesktop.org/show_bug.cgi?id=1069 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r--src/CmapAlloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CmapAlloc.c b/src/CmapAlloc.c
index 78cdb1a..31cc153 100644
--- a/src/CmapAlloc.c
+++ b/src/CmapAlloc.c
@@ -330,7 +330,7 @@ icbrt_with_guess(int a, int guess)
icbrt_loopcount++;
#endif
delta = (guess - a/(guess*guess))/3;
-#ifdef DEBUG
+#if defined(DEBUG) && defined(_X_ROOT_STATS)
printf("pass %d: guess=%d, delta=%d\n", icbrt_loopcount, guess, delta);
#endif
guess -= delta;