=================================================================== RCS file: /home/cvs/OpenXM/src/ox_pari/ox_pari.h,v retrieving revision 1.1 retrieving revision 1.4 diff -u -p -r1.1 -r1.4 --- OpenXM/src/ox_pari/ox_pari.h 2015/08/21 01:20:30 1.1 +++ OpenXM/src/ox_pari/ox_pari.h 2021/03/25 07:03:21 1.4 @@ -2,8 +2,12 @@ #include #include #include "pari/pari.h" +#if 0 #include "pari/paripriv.h" +#endif #include "gmp.h" +/* inconsistency between PARI and GMP */ +#undef un #include "gmp-impl.h" #include "mpfr.h" #include "ox_toolkit.h" @@ -11,6 +15,7 @@ void init_pari(void); cmo_error2 *make_error2(char *message); +int gmp_check(void); cmo *GEN_to_cmo(GEN z); cmo_zz *GEN_to_cmo_zz(GEN z); cmo_qq *GEN_to_cmo_qq(GEN z); @@ -37,6 +42,7 @@ struct parif { char *name; GEN (*f)(); int type; + int opt; }; #define MPFR_PREC(x) ((x)->_mpfr_prec)