From 2c189e4a741cb2b604420d70d6e6878596f43a11 Mon Sep 17 00:00:00 2001 From: Nelson Ferreira Date: Wed, 14 Sep 2011 01:05:59 -0400 Subject: [PATCH] Fix the ent-mpc issues of Bug 126. --- src/ent/ent-mpc.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ent/ent-mpc.h b/src/ent/ent-mpc.h index adcf2da..2adcac1 100644 --- a/src/ent/ent-mpc.h +++ b/src/ent/ent-mpc.h @@ -132,8 +132,13 @@ extern Bufbyte *bigc_to_string(bigc, int); mpc_add_fr(c, c, bf1, GMP_RNDN); \ } while (0) +#if defined mpc_realref +#define bigc_re(z) mpc_realref(z) +#define bigc_im(z) mpc_imagref(z) +#else #define bigc_re(z) MPC_RE(z) #define bigc_im(z) MPC_IM(z) +#endif /***** Bigc: comparisons *****/ #define bigc_cmp(f1,f2) mpc_cmp(f1, f2) -- 2.34.1