From a6bb90ce0c202995bfc8ad6afa076948bc4369e6 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)> Date: Thu, 8 Apr 2010 23:33:02 +0000 Subject: [PATCH] Changed one of the defines for something better. --- gmp-h.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gmp-h.in b/gmp-h.in index 638fe818..0ea1256b 100644 --- a/gmp-h.in +++ b/gmp-h.in @@ -2350,7 +2350,10 @@ __GMP_DECLSPEC_XX std::istream& operator>> (std::istream &, mpf_ptr); #define mpz_mmod_ui(r,n,d) \ (((r) == 0) ? mpz_fdiv_ui (n,d) : mpz_fdiv_r_ui (r,n,d)) -#define gmp_randinit(xxx, yyy, zzz) gmp_randinit_default(xxx) +#define gmp_randinit(x,y,z) gmp_randinit_lc_2exp_size(x,z) + +typedef __mpz_struct MP_INT; /* gmp 1 source compatibility */ +typedef __mpq_struct MP_RAT; /* gmp 1 source compatibility */ #define mpz_div mpz_fdiv_q #define mpz_divmod mpz_fdiv_qr