From 0570bab8a30cbd80df2e37c51300df499e68a61d Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 16 Dec 2015 05:38:07 +0200 Subject: Minor compile fix for non-MPFR builds. --- profile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'profile.c') diff --git a/profile.c b/profile.c index 5af7b929..dc89d006 100644 --- a/profile.c +++ b/profile.c @@ -1324,9 +1324,10 @@ pp_number(NODE *n) { #define PP_PRECISION 6 char *str; - size_t count; #ifdef HAVE_MPFR + size_t count; + if (is_mpg_float(n)) { count = mpfr_get_prec(n->mpg_numbr) / 3; /* ~ 3.22 binary digits per decimal digit */ emalloc(str, char *, count, "pp_number"); -- cgit v1.2.3