summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2003-12-20 01:43:11 +0100
committerKevin Ryde <user42@zip.com.au>2003-12-20 01:43:11 +0100
commit0324a8ecde9ac0e2d5ff39d1239b8dd425c69a00 (patch)
tree955a534c1deac62421f297856c83124bf35459ed /demos
parent28d68f8290bc905f0c284e68ad760331c0d1a1dc (diff)
downloadgmp-0324a8ecde9ac0e2d5ff39d1239b8dd425c69a00.tar.gz
* demos/expr/expr.h: Test #ifdef MPFR_VERSION_MAJOR for when mpfr.h is
included, not GMP_RNDZ which is now an enum.
Diffstat (limited to 'demos')
-rw-r--r--demos/expr/expr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/expr/expr.h b/demos/expr/expr.h
index 93e853868..f9e70a85b 100644
--- a/demos/expr/expr.h
+++ b/demos/expr/expr.h
@@ -130,7 +130,7 @@ int mpz_expr_a __GMP_PROTO ((__gmp_const struct mpexpr_operator_t *table,
int mpz_expr __GMP_PROTO ((mpz_ptr res, int base, __gmp_const char *e, ...));
/* when mpfr.h has been included */
-#ifdef GMP_RNDZ
+#ifdef MPFR_VERSION_MAJOR
int mpfr_expr_a __GMP_PROTO ((__gmp_const struct mpexpr_operator_t *table,
mpfr_ptr res, int base, unsigned long prec,
__gmp_const char *e, size_t elen,