From: Nelson Ferreira Date: Wed, 14 Sep 2011 05:05:59 +0000 (-0400) Subject: Fix the ent-mpc issues of Bug 126. X-Git-Tag: v22.1.15~113^2 X-Git-Url: http://cgit.sxemacs.org/?a=commitdiff_plain;h=2c189e4a741cb2b604420d70d6e6878596f43a11;p=sxemacs Fix the ent-mpc issues of Bug 126. --- 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)